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.0007557/0.0007557, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.001843, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007174/0.0007174, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009045/0.001622, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8453/0.8453, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1343/0.9796, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.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.703e-06/1.703e-06, allocations: 3.938 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.083e-05, allocations: 2.312 kB / 221.9 MB, free: 148 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.004209/0.00423, allocations: 5.546 MB / 227.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.006406, allocations: 1.496 MB / 228.9 MB, free: 9.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.006748, allocations: 19.94 kB / 228.9 MB, free: 9.039 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.006972, allocations: 162.4 kB / 229.1 MB, free: 8.879 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.007381, allocations: 293.2 kB / 229.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.007928, allocations: 351.3 kB / 229.7 MB, free: 8.246 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.008961, allocations: 1.288 MB / 231 MB, free: 6.953 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.00927, allocations: 285.4 kB / 231.3 MB, free: 6.648 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006944/0.009965, allocations: 0.7787 MB / 232.1 MB, free: 5.871 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003999/0.01036, allocations: 422.8 kB / 232.5 MB, free: 5.457 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.01047, allocations: 128 kB / 232.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.01069, allocations: 159.9 kB / 232.7 MB, free: 5.176 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.01081, allocations: 191.4 kB / 232.9 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.01105, allocations: 327.4 kB / 233.3 MB, free: 4.668 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.01171, allocations: 0.7788 MB / 234 MB, free: 3.887 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.057e-05/0.01173, allocations: 4 kB / 234 MB, free: 3.883 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01173, allocations: 0 / 234 MB, free: 3.883 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.01175, allocations: 0 / 234 MB, free: 3.883 MB / 234.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.001443/0.01319, allocations: 1.415 MB / 235.5 MB, free: 2.438 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.01322, allocations: 8.031 kB / 235.5 MB, free: 2.43 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.01336, allocations: 140.8 kB / 235.6 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.01374, allocations: 347.2 kB / 235.9 MB, free: 1.93 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.01378, allocations: 58.38 kB / 236 MB, free: 1.875 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.389e-05/0.01386, allocations: 96.25 kB / 236.1 MB, free: 1.781 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/0.0145, allocations: 0.809 MB / 236.9 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.01452, allocations: 4.172 kB / 236.9 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.01456, allocations: 36.38 kB / 236.9 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.01457, allocations: 19.94 kB / 237 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.01489, allocations: 257.8 kB / 237.2 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.01718, allocations: 2.017 MB / 239.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.01754, allocations: 358.9 kB / 239.6 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.0177, allocations: 162.7 kB / 239.7 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.01774, allocations: 12.66 kB / 239.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.01777, allocations: 47.2 kB / 239.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 2.555e-06/0.01778, allocations: 0 / 239.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=71): time 0.001537/0.01931, allocations: 1.109 MB / 240.9 MB, free: 12.76 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.01934, allocations: 60.06 kB / 241 MB, free: 12.69 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.01959, allocations: 435.1 kB / 241.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.01963, allocations: 37.7 kB / 241.4 MB, free: 12.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.01977, allocations: 345.7 kB / 241.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.01989, allocations: 261.7 kB / 242 MB, free: 11.61 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.02002, allocations: 138.5 kB / 242.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.02012, allocations: 386.6 kB / 242.5 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.02022, allocations: 89.95 kB / 242.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.02038, allocations: 217.1 kB / 242.8 MB, free: 10.74 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.02068, allocations: 368.5 kB / 243.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02069, allocations: 4 kB / 243.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005512/0.02124, allocations: 0.5074 MB / 243.7 MB, free: 9.824 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.02125, allocations: 4 kB / 243.7 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.02126, allocations: 4 kB / 243.7 MB, free: 9.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/0.02154, allocations: 139 kB / 243.8 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/0.02201, allocations: 219.7 kB / 244.1 MB, free: 9.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.02355, allocations: 1.958 MB / 246 MB, free: 7.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.02377, allocations: 27.98 kB / 246 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.0238, allocations: 23.98 kB / 246.1 MB, free: 7.379 MB / 250.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.0001545/0.02395, allocations: 157.7 kB / 246.2 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/0.02402, allocations: 67.94 kB / 246.3 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.387e-05/0.02411, allocations: 85.86 kB / 246.4 MB, free: 7.059 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.02411, allocations: 8 kB / 246.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.02412, allocations: 4 kB / 246.4 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.02413, allocations: 3.984 kB / 246.4 MB, free: 7.043 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.02456, allocations: 418.6 kB / 246.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.02457, allocations: 4 kB / 246.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.02496, allocations: 187.6 kB / 247 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.02501, allocations: 51.58 kB / 247 MB, free: 6.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002632/0.02527, allocations: 136.7 kB / 247.2 MB, free: 6.242 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.0253, allocations: 28.05 kB / 247.2 MB, free: 6.215 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.02672, allocations: 1.94 MB / 249.1 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.02672, allocations: 0 / 249.1 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007053/0.02742, allocations: 0.6666 MB / 249.8 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.02748, allocations: 23.94 kB / 249.8 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.02769, allocations: 51.95 kB / 249.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.02776, allocations: 56.48 kB / 249.9 MB, free: 3.379 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.02779, allocations: 15.98 kB / 249.9 MB, free: 3.363 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.02791, allocations: 188.4 kB / 250.1 MB, free: 3.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02791, allocations: 0 / 250.1 MB, free: 3.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004594/0.02837, allocations: 224 kB / 250.3 MB, free: 2.961 MB / 250.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.0001532/0.02852, allocations: 120.3 kB / 250.5 MB, free: 2.832 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000746/0.02927, allocations: 0.6049 MB / 251.1 MB, free: 2.215 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/0.02929, allocations: 16.64 kB / 251.1 MB, free: 2.199 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.02975, allocations: 463.9 kB / 251.5 MB, free: 1.73 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.03012, allocations: 182.4 kB / 251.7 MB, free: 1.555 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.03483, allocations: 1.497 MB / 253.2 MB, free: 24 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.03496, allocations: 175.1 kB / 253.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.0352, allocations: 68.91 kB / 253.5 MB, free: 15.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.03548, allocations: 201.2 kB / 253.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03548, allocations: 0 / 253.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of Templates: time 0.01416/0.04964, allocations: 11.59 MB / 265.2 MB, free: 3.961 MB / 266.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 -ignoreHideResult -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: 2.7229107283055782]