Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001704/0.001704, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001678/0.001678, allocations: 210.7 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.12/2.12, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 55.86 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4169, allocations: 53.37 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.007501/0.4244, allocations: 2.622 MB / 435 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.4268, allocations: 0.6456 MB / 435.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.427, allocations: 4 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.4273, allocations: 51.5 kB / 435.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.4276, allocations: 99.17 kB / 435.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.428, allocations: 83.91 kB / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006806/0.4287, allocations: 382.4 kB / 436.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.429, allocations: 83.34 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.4293, allocations: 151.4 kB / 436.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.4296, allocations: 167.3 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.569e-05/0.4297, allocations: 36 kB / 436.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.4299, allocations: 36 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.872e-05/0.43, allocations: 67.7 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.4302, allocations: 139.4 kB / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006853/0.4309, allocations: 382.2 kB / 437.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4309, allocations: 7.938 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4309, allocations: 0 / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.4309, allocations: 0 / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002012/0.4329, allocations: 0.5859 MB / 437.9 MB, free: 1.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.433, allocations: 8.031 kB / 437.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.4331, allocations: 36.7 kB / 437.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/0.4338, allocations: 218.9 kB / 438.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.4338, allocations: 20.88 kB / 438.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.4339, allocations: 24.38 kB / 438.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.435, allocations: 358.2 kB / 438.5 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.435, allocations: 4 kB / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.435, allocations: 8 kB / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.435, allocations: 8 kB / 438.5 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.4363, allocations: 245.5 kB / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.4388, allocations: 0.9345 MB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.4399, allocations: 210.5 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.4404, allocations: 88.78 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.4404, allocations: 4 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006369/0.441, allocations: 217.3 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.441, allocations: 0 / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002781/0.4438, allocations: 441.8 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.4439, allocations: 114.8 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.4444, allocations: 257 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.4444, allocations: 29.7 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.4446, allocations: 211.9 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.4447, allocations: 39.67 kB / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.4449, allocations: 53.89 kB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.4451, allocations: 338.8 kB / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/0.4457, allocations: 121.9 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.4464, allocations: 283.2 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.4474, allocations: 304.4 kB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.4474, allocations: 7.938 kB / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00185/0.4493, allocations: 453.5 kB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-05/0.4493, allocations: 37.69 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.4493, allocations: 4 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4504, allocations: 68.81 kB / 442.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.4507, allocations: 59.86 kB / 443 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.4541, allocations: 1.562 MB / 444.5 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.4547, allocations: 59.81 kB / 444.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.4548, allocations: 19.98 kB / 444.6 MB, free: 9.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002493/0.455, allocations: 140.2 kB / 444.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.4551, allocations: 27.86 kB / 444.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.563e-05/0.4552, allocations: 25.7 kB / 444.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4552, allocations: 4 kB / 444.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4552, allocations: 0 / 444.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4552, allocations: 0 / 444.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.4555, allocations: 205.1 kB / 445 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4555, allocations: 3.938 kB / 445 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.4557, allocations: 19.97 kB / 445 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/0.4561, allocations: 64.81 kB / 445.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.4561, allocations: 11.98 kB / 445.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.4593, allocations: 1.57 MB / 446.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4593, allocations: 0 / 446.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.4609, allocations: 313.4 kB / 447 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.4611, allocations: 39.77 kB / 447 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.4611, allocations: 0 / 447 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.4615, allocations: 35.95 kB / 447.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.4616, allocations: 19.91 kB / 447.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.4616, allocations: 8 kB / 447.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002856/0.4619, allocations: 184.5 kB / 447.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4619, allocations: 0 / 447.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006173/0.4625, allocations: 87.83 kB / 447.3 MB, free: 7.023 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001629/0.4627, allocations: 99.25 kB / 447.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.4641, allocations: 427.6 kB / 447.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4641, allocations: 4 kB / 447.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006618/0.4648, allocations: 223.1 kB / 448.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.4652, allocations: 43.52 kB / 448.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.4667, allocations: 460.4 kB / 448.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.4669, allocations: 142.9 kB / 448.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.4671, allocations: 30.27 kB / 448.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.4671, allocations: 27.44 kB / 448.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4671, allocations: 3.938 kB / 448.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of Templates: time 0.01529/0.4824, allocations: 4.406 MB / 453.2 MB, free: 1.16 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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: 6.1231128689978505]