Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.89 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.272, allocations: 53.42 MB / 432.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.00776/0.2798, allocations: 6.113 MB / 438.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003229/0.283, allocations: 1.572 MB / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006278/0.2836, allocations: 27.88 kB / 440.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.2841, allocations: 170.3 kB / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.2847, allocations: 297.2 kB / 440.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008745/0.2856, allocations: 407.4 kB / 441 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.2872, allocations: 1.403 MB / 442.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.2876, allocations: 297.7 kB / 442.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007227/0.2884, allocations: 0.5063 MB / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007458/0.2891, allocations: 0.5757 MB / 443.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.2893, allocations: 136 kB / 443.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.2896, allocations: 180 kB / 444.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.2899, allocations: 275.2 kB / 444.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005564/0.2904, allocations: 0.5872 MB / 445 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.292, allocations: 1.542 MB / 446.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.292, allocations: 0 / 446.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.292, allocations: 0 / 446.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.2921, allocations: 0 / 446.5 MB, free: 8.613 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002763/0.2948, allocations: 1.338 MB / 447.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2949, allocations: 8.031 kB / 447.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003832/0.2952, allocations: 136.2 kB / 448 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008563/0.2961, allocations: 0.4978 MB / 448.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.2962, allocations: 66.38 kB / 448.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.2963, allocations: 88.36 kB / 448.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.2979, allocations: 0.851 MB / 449.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2979, allocations: 3.984 kB / 449.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.298, allocations: 36 kB / 449.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.2981, allocations: 23.98 kB / 449.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.2998, allocations: 0.8551 MB / 450.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005804/0.3056, allocations: 3.153 MB / 453.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3068, allocations: 0.625 MB / 454.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007307/0.3075, allocations: 395.4 kB / 454.6 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-05/0.3075, allocations: 16.62 kB / 454.6 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3076, allocations: 43.22 kB / 454.6 MB, free: 284 kB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.385e-06/0.3076, allocations: 0 / 454.6 MB, free: 284 kB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004719/0.3123, allocations: 2.198 MB / 456.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.3124, allocations: 60.06 kB / 456.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/0.3131, allocations: 0.6096 MB / 457.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.3132, allocations: 37.7 kB / 457.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00034/0.3135, allocations: 448.3 kB / 458 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.3138, allocations: 277.6 kB / 458.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.314, allocations: 146.6 kB / 458.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.3142, allocations: 382.8 kB / 458.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/0.3149, allocations: 333.8 kB / 459.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008055/0.3157, allocations: 476.5 kB / 459.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.3172, allocations: 0.8047 MB / 460.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3172, allocations: 0 / 460.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002319/0.3195, allocations: 1.118 MB / 461.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3195, allocations: 8 kB / 461.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3195, allocations: 4 kB / 461.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/0.3201, allocations: 188.8 kB / 461.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009137/0.321, allocations: 191.8 kB / 461.9 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004047/0.3251, allocations: 2.783 MB / 464.6 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007512/0.3258, allocations: 40.16 kB / 464.7 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.978e-05/0.3259, allocations: 36 kB / 464.7 MB, free: 5.895 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003867/0.3263, allocations: 229.6 kB / 464.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.3264, allocations: 91.42 kB / 465 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.3266, allocations: 87.27 kB / 465.1 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.3267, allocations: 12 kB / 465.1 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.3267, allocations: 4 kB / 465.1 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3267, allocations: 3.984 kB / 465.1 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3278, allocations: 0.8603 MB / 466 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.3278, allocations: 3.938 kB / 466 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007638/0.3286, allocations: 143.8 kB / 466.1 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.3291, allocations: 183.2 kB / 466.3 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/0.3292, allocations: 19.98 kB / 466.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003916/0.3331, allocations: 2.789 MB / 469.1 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3331, allocations: 4 kB / 469.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/0.3359, allocations: 1.428 MB / 470.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.3361, allocations: 71.47 kB / 470.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.3362, allocations: 20 kB / 470.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.3368, allocations: 51.95 kB / 470.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.337, allocations: 56.48 kB / 470.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.337, allocations: 23.98 kB / 470.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005447/0.3376, allocations: 431.1 kB / 471.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3376, allocations: 4 kB / 471.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008531/0.3384, allocations: 239.9 kB / 471.4 MB, free: 14.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002255/0.3387, allocations: 131.2 kB / 471.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002281/0.3409, allocations: 0.9939 MB / 472.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3409, allocations: 0 / 472.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.3423, allocations: 0.6158 MB / 473.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007504/0.3431, allocations: 159 kB / 473.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.3465, allocations: 2.052 MB / 475.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.3472, allocations: 0.9814 MB / 476.4 MB, free: 9.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.3475, allocations: 67.41 kB / 476.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3475, allocations: 0 / 476.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of Templates: time 0.0215/0.369, allocations: 15.06 MB / 491.5 MB, free: 10.89 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.426642124075443]