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.00198/0.00198, allocations: 95.53 kB / 21.73 MB, free: 2.688 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.00271/0.00271, allocations: 164.9 kB / 25.02 MB, free: 8.418 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 1.405/1.405, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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 2.494e-06/2.494e-06, allocations: 0 / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.662e-05, allocations: 2.312 kB / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.01178/0.01182, allocations: 5.534 MB / 255.9 MB, free: 2.242 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004846/0.01666, allocations: 1.426 MB / 257.4 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009781/0.01764, allocations: 19.94 kB / 257.4 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.01825, allocations: 162.4 kB / 257.5 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.01936, allocations: 293.2 kB / 257.8 MB, free: 348 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.02064, allocations: 355.4 kB / 258.2 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.02294, allocations: 1.28 MB / 259.4 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007197/0.02366, allocations: 277.4 kB / 259.7 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.02522, allocations: 0.7018 MB / 260.4 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009705/0.02619, allocations: 418.9 kB / 260.8 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000271/0.02646, allocations: 124 kB / 260.9 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004554/0.02691, allocations: 159.8 kB / 261.1 MB, free: 13.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.02727, allocations: 259.2 kB / 261.4 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007282/0.028, allocations: 391.1 kB / 261.7 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.03084, allocations: 1.488 MB / 263.2 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.03084, allocations: 0 / 263.2 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.03085, allocations: 0 / 263.2 MB, free: 10.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.03087, allocations: 0 / 263.2 MB, free: 10.89 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.00433/0.0352, allocations: 1.403 MB / 264.6 MB, free: 9.453 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.03526, allocations: 8.031 kB / 264.6 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004878/0.03574, allocations: 172.3 kB / 264.8 MB, free: 9.277 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.03699, allocations: 473.8 kB / 265.3 MB, free: 8.785 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.041e-05/0.03708, allocations: 58.38 kB / 265.3 MB, free: 8.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.03731, allocations: 88.33 kB / 265.4 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/0.04004, allocations: 1.121 MB / 266.5 MB, free: 7.453 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.04007, allocations: 192 / 266.5 MB, free: 7.453 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.04019, allocations: 32.38 kB / 266.6 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.04022, allocations: 23.94 kB / 266.6 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.04252, allocations: 0.7262 MB / 267.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00837/0.05089, allocations: 3.069 MB / 270.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.05254, allocations: 0.6044 MB / 271 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009764/0.05352, allocations: 353.5 kB / 271.3 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.276e-05/0.05361, allocations: 20.64 kB / 271.3 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.05367, allocations: 42.05 kB / 271.4 MB, free: 2.465 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 4.098e-06/0.05367, allocations: 0 / 271.4 MB, free: 2.465 MB / 250.7 MB Notification: Performance of matching and sorting (n=71): time 0.005842/0.05951, allocations: 2.076 MB / 273.5 MB, free: 360 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.05957, allocations: 64.05 kB / 273.5 MB, free: 280 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.06079, allocations: 0.6276 MB / 274.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.362e-05/0.06089, allocations: 37.7 kB / 274.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005705/0.06146, allocations: 483.1 kB / 274.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.06173, allocations: 277.8 kB / 274.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.06202, allocations: 172.3 kB / 275.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003829/0.0624, allocations: 0.5898 MB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.06299, allocations: 285.9 kB / 276 MB, free: 13.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007962/0.06378, allocations: 475 kB / 276.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.06528, allocations: 0.8111 MB / 277.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.06529, allocations: 0 / 277.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002188/0.06748, allocations: 1.047 MB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.0675, allocations: 8 kB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.0675, allocations: 0 / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006935/0.0682, allocations: 207.2 kB / 278.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.06899, allocations: 179.8 kB / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004652/0.07364, allocations: 3.364 MB / 282 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.07425, allocations: 23.98 kB / 282.1 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/0.07432, allocations: 35.98 kB / 282.1 MB, free: 7.414 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.0004143/0.07473, allocations: 264.4 kB / 282.4 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.07491, allocations: 87.58 kB / 282.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.07511, allocations: 85.88 kB / 282.5 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.07512, allocations: 12 kB / 282.5 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.07514, allocations: 4 kB / 282.5 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.07515, allocations: 3.984 kB / 282.6 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.07622, allocations: 0.7122 MB / 283.3 MB, free: 6.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.07623, allocations: 3.984 kB / 283.3 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.07692, allocations: 143.8 kB / 283.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006317/0.07755, allocations: 195.4 kB / 283.6 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/0.07761, allocations: 23.98 kB / 283.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/0.08221, allocations: 3.352 MB / 287 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.08221, allocations: 4.125 kB / 287 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/0.08492, allocations: 1.408 MB / 288.4 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.08508, allocations: 71.5 kB / 288.5 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.08517, allocations: 16 kB / 288.5 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.08571, allocations: 43.97 kB / 288.5 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.08586, allocations: 56.55 kB / 288.6 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/0.08591, allocations: 23.98 kB / 288.6 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000501/0.08641, allocations: 410.8 kB / 289 MB, free: 340 kB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08641, allocations: 0 / 289 MB, free: 340 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008219/0.08724, allocations: 223.9 kB / 289.2 MB, free: 116 kB / 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.0002742/0.08751, allocations: 131.2 kB / 289.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002348/0.08986, allocations: 1.059 MB / 290.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.08986, allocations: 0 / 290.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.09141, allocations: 0.69 MB / 291.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006768/0.09209, allocations: 126.8 kB / 291.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.09535, allocations: 1.736 MB / 293 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.09578, allocations: 369.2 kB / 293.3 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003386/0.09612, allocations: 80.83 kB / 293.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.09627, allocations: 48.48 kB / 293.4 MB, free: 11.77 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.09627, allocations: 0 / 293.4 MB, free: 11.77 MB / 282.7 MB Notification: Performance of Templates: time 0.0201/0.1164, allocations: 10.36 MB / 303.8 MB, free: 1.445 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.854946854058653]