Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.002013/0.002013, allocations: 82.42 kB / 20.68 MB, free: 1.035 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.001651/0.001651, allocations: 163.6 kB / 23.95 MB, free: 4.168 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 1.454/1.454, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.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.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 3.938 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.512e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004341/0.004366, allocations: 2.769 MB / 327.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.005976, allocations: 0.7399 MB / 328.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.006145, allocations: 9.25 kB / 328.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001796/0.006325, allocations: 45.75 kB / 328.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.006566, allocations: 111.2 kB / 328.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.006915, allocations: 120.1 kB / 328.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005669/0.007482, allocations: 430.1 kB / 329.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.007726, allocations: 84.34 kB / 329.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.008085, allocations: 233 kB / 329.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.008325, allocations: 129.1 kB / 329.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.184e-05/0.008396, allocations: 40.62 kB / 329.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.235e-05/0.008469, allocations: 40.44 kB / 329.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.008568, allocations: 80.59 kB / 329.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.008743, allocations: 127.3 kB / 330 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006275/0.009371, allocations: 470.4 kB / 330.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.009376, allocations: 1.094 kB / 330.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.009377, allocations: 0 / 330.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.009385, allocations: 0 / 330.5 MB, free: 13.16 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001455/0.01084, allocations: 0.6029 MB / 331.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.01088, allocations: 9.406 kB / 331.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.439e-05/0.01098, allocations: 37.3 kB / 331.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.01137, allocations: 242.5 kB / 331.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.0114, allocations: 19.56 kB / 331.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.01145, allocations: 29.27 kB / 331.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008465/0.0123, allocations: 374.8 kB / 331.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.01232, allocations: 4.125 kB / 331.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.01235, allocations: 11.97 kB / 331.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01236, allocations: 13.94 kB / 331.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.01323, allocations: 287.8 kB / 332.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.0152, allocations: 0.9796 MB / 333.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.01621, allocations: 245.3 kB / 333.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.01657, allocations: 103.8 kB / 333.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.0166, allocations: 2.406 kB / 333.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005507/0.01715, allocations: 227.9 kB / 333.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.01716, allocations: 0 / 333.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002473/0.01963, allocations: 0.5868 MB / 334.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.01971, allocations: 109 kB / 334.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.02006, allocations: 274 kB / 334.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.0201, allocations: 31.64 kB / 334.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.02025, allocations: 202.2 kB / 334.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.0203, allocations: 41.41 kB / 334.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.0204, allocations: 55.64 kB / 334.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.02055, allocations: 336.4 kB / 335.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.02095, allocations: 136.8 kB / 335.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.02144, allocations: 281.3 kB / 335.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/0.02223, allocations: 313.2 kB / 336 MB, free: 8.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02223, allocations: 0 / 336 MB, free: 8.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001432/0.02366, allocations: 0.4961 MB / 336.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.02371, allocations: 36.62 kB / 336.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.02372, allocations: 2.594 kB / 336.5 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004172/0.02414, allocations: 81.31 kB / 336.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.02438, allocations: 57.19 kB / 336.6 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/0.02737, allocations: 1.855 MB / 338.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.02775, allocations: 50.91 kB / 338.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.02777, allocations: 11.97 kB / 338.6 MB, free: 6.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.02797, allocations: 158.7 kB / 338.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.02802, allocations: 26.02 kB / 338.7 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.02807, allocations: 27.58 kB / 338.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02808, allocations: 2.125 kB / 338.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.02808, allocations: 0 / 338.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.02808, allocations: 0 / 338.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.02835, allocations: 219.2 kB / 339 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.02836, allocations: 4 kB / 339 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.0285, allocations: 22.42 kB / 339 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003088/0.02881, allocations: 90.11 kB / 339.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.02883, allocations: 1.094 kB / 339.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/0.03143, allocations: 1.673 MB / 340.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.03143, allocations: 0 / 340.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.0326, allocations: 361.6 kB / 341.1 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.03266, allocations: 19.86 kB / 341.2 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.0327, allocations: 8.125 kB / 341.2 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.03296, allocations: 39.95 kB / 341.2 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.03305, allocations: 23.97 kB / 341.2 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.03306, allocations: 4 kB / 341.2 MB, free: 4.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002168/0.03328, allocations: 193.2 kB / 341.4 MB, free: 4.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03328, allocations: 0 / 341.4 MB, free: 4.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004393/0.03372, allocations: 79.84 kB / 341.5 MB, free: 4.082 MB / 302.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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.03387, allocations: 107.2 kB / 341.6 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.03499, allocations: 455.9 kB / 342 MB, free: 3.492 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.03499, allocations: 0 / 342 MB, free: 3.492 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.03553, allocations: 242.3 kB / 342.3 MB, free: 3.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.03589, allocations: 40.73 kB / 342.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.03703, allocations: 477.1 kB / 342.8 MB, free: 2.703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.03718, allocations: 146.9 kB / 342.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.03729, allocations: 30.27 kB / 343 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.03e-05/0.03736, allocations: 24.48 kB / 343 MB, free: 2.484 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.03736, allocations: 0 / 343 MB, free: 2.484 MB / 302.1 MB Notification: Performance of Templates: time 0.00915/0.04651, allocations: 4.113 MB / 347.1 MB, free: 14.44 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.45095881074667]