Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 164.7 kB / 25.33 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8609/0.8609, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.584e-05, allocations: 2.312 kB / 251.1 MB, free: 7.492 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004559/0.004575, allocations: 5.596 MB / 256.7 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.006858, allocations: 1.422 MB / 258.1 MB, free: 440 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003961/0.007254, allocations: 19.94 kB / 258.1 MB, free: 420 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.007517, allocations: 154.4 kB / 258.3 MB, free: 264 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.00796, allocations: 301.1 kB / 258.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006927/0.008652, allocations: 359.3 kB / 258.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009409/0.009593, allocations: 1.276 MB / 260.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.009912, allocations: 277.4 kB / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006192/0.01053, allocations: 0.7018 MB / 261.1 MB, free: 13.33 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.01093, allocations: 418.8 kB / 261.6 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.01105, allocations: 128 kB / 261.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.01123, allocations: 156 kB / 261.8 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.01136, allocations: 263.2 kB / 262.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.0116, allocations: 391.1 kB / 262.5 MB, free: 12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008774/0.01248, allocations: 0.8799 MB / 263.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.01248, allocations: 0 / 263.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.01248, allocations: 0 / 263.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.01249, allocations: 0 / 263.4 MB, free: 11.12 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001382/0.01387, allocations: 1.321 MB / 264.7 MB, free: 9.762 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.0139, allocations: 12.03 kB / 264.7 MB, free: 9.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.01407, allocations: 168.3 kB / 264.8 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.01449, allocations: 477.8 kB / 265.3 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.01452, allocations: 58.38 kB / 265.4 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.01461, allocations: 88.33 kB / 265.5 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008219/0.01543, allocations: 0.8681 MB / 266.3 MB, free: 8.008 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.01545, allocations: 192 / 266.3 MB, free: 8.008 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.01549, allocations: 32.38 kB / 266.4 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.01551, allocations: 23.94 kB / 266.4 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005507/0.01606, allocations: 383.7 kB / 266.8 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.01859, allocations: 2.589 MB / 269.3 MB, free: 4.887 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.01912, allocations: 419 kB / 269.8 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.01938, allocations: 209.5 kB / 270 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.01942, allocations: 24.58 kB / 270 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.01945, allocations: 46.05 kB / 270 MB, free: 4.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.713e-06/0.01945, allocations: 0 / 270 MB, free: 4.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=71): time 0.002323/0.02177, allocations: 1.455 MB / 271.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.0218, allocations: 60.06 kB / 271.5 MB, free: 2.621 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.02212, allocations: 0.4908 MB / 272 MB, free: 2.113 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.02215, allocations: 37.7 kB / 272.1 MB, free: 2.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.02235, allocations: 455.1 kB / 272.5 MB, free: 1.617 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.02248, allocations: 257.8 kB / 272.8 MB, free: 1.363 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.02262, allocations: 140.3 kB / 272.9 MB, free: 1.215 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.02276, allocations: 0.5468 MB / 273.5 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.02297, allocations: 141.9 kB / 273.6 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.02324, allocations: 283.1 kB / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.02376, allocations: 482.6 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02377, allocations: 4 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008881/0.02466, allocations: 0.7149 MB / 275.1 MB, free: 14.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.02467, allocations: 8.344 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.02468, allocations: 8 kB / 275.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.02503, allocations: 143.5 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.02541, allocations: 183.7 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.02763, allocations: 2.734 MB / 278.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.02785, allocations: 31.98 kB / 278.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.02789, allocations: 27.98 kB / 278.2 MB, free: 11.69 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (84): * Single equations (assignments): 83 * 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,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.02804, allocations: 204.3 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.02813, allocations: 91.58 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/0.02821, allocations: 85.88 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.02821, allocations: 8 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.02822, allocations: 0 / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.02822, allocations: 3.984 kB / 278.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.02867, allocations: 0.5247 MB / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02867, allocations: 0 / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.029, allocations: 135.8 kB / 279.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.0293, allocations: 158.8 kB / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/0.02933, allocations: 23.98 kB / 279.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.03117, allocations: 2.743 MB / 282.1 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.03117, allocations: 0 / 282.1 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.03222, allocations: 0.9154 MB / 283.1 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.03227, allocations: 63.5 kB / 283.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.03232, allocations: 23.94 kB / 283.1 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.03255, allocations: 39.97 kB / 283.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.03265, allocations: 56.55 kB / 283.2 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.03268, allocations: 23.98 kB / 283.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002102/0.03289, allocations: 330.8 kB / 283.6 MB, free: 6.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03289, allocations: 0 / 283.6 MB, free: 6.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004603/0.03335, allocations: 220 kB / 283.8 MB, free: 5.879 MB / 266.7 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.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * 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,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.03353, allocations: 131.2 kB / 283.9 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.0348, allocations: 0.7662 MB / 284.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.03481, allocations: 0 / 284.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.03539, allocations: 0.5416 MB / 285.2 MB, free: 4.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.03579, allocations: 126.2 kB / 285.4 MB, free: 4.273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.03766, allocations: 1.617 MB / 287 MB, free: 2.613 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.03776, allocations: 175 kB / 287.2 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.03794, allocations: 80.83 kB / 287.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.03804, allocations: 44.48 kB / 287.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03804, allocations: 4 kB / 287.3 MB, free: 2.293 MB / 266.7 MB Notification: Performance of Templates: time 0.01327/0.05131, allocations: 10.86 MB / 298.1 MB, free: 7.461 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0326392319984734]