Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 153.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 267.4 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.69e-05, allocations: 6.25 kB / 267.4 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004932/0.004959, allocations: 2.904 MB / 270.3 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.006624, allocations: 0.7051 MB / 271 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.006796, allocations: 7.938 kB / 271 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.006974, allocations: 47.56 kB / 271 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.007205, allocations: 107.1 kB / 271.1 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.007546, allocations: 123.7 kB / 271.3 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000537/0.008083, allocations: 430.2 kB / 271.7 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.008291, allocations: 83.67 kB / 271.8 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.008641, allocations: 239.4 kB / 272 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.008882, allocations: 139.6 kB / 272.1 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/0.008956, allocations: 40 kB / 272.2 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.408e-05/0.00903, allocations: 40 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.48e-05/0.009125, allocations: 79.69 kB / 272.3 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.0093, allocations: 127.7 kB / 272.4 MB, free: 1.621 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006026/0.009903, allocations: 466.6 kB / 272.9 MB, free: 1.164 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.009908, allocations: 3.984 kB / 272.9 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.00991, allocations: 0 / 272.9 MB, free: 1.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.009917, allocations: 4 kB / 272.9 MB, free: 1.156 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001321/0.01124, allocations: 0.7009 MB / 273.6 MB, free: 420 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.01127, allocations: 12.03 kB / 273.6 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.01139, allocations: 52.75 kB / 273.6 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.01181, allocations: 255.9 kB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.01184, allocations: 20.88 kB / 273.9 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.01188, allocations: 24.38 kB / 273.9 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.01263, allocations: 376.4 kB / 274.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.01265, allocations: 4.125 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.01268, allocations: 12.38 kB / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01269, allocations: 7.938 kB / 274.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006614/0.01335, allocations: 241.9 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.01567, allocations: 1.167 MB / 275.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.01635, allocations: 211.1 kB / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.01661, allocations: 87.64 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.01665, allocations: 4 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004604/0.01711, allocations: 234.9 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.01711, allocations: 4 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001843/0.01895, allocations: 452.8 kB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.01905, allocations: 106.8 kB / 276.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.01949, allocations: 376.2 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.01954, allocations: 29.7 kB / 277.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.01981, allocations: 266.7 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.01989, allocations: 51.56 kB / 277.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.02006, allocations: 63.77 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004102/0.02047, allocations: 0.5196 MB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.02092, allocations: 118.1 kB / 278.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.02159, allocations: 309.6 kB / 278.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008178/0.0224, allocations: 320.5 kB / 278.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.02241, allocations: 0 / 278.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001716/0.02412, allocations: 448.3 kB / 279.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/0.0242, allocations: 37.69 kB / 279.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.0242, allocations: 0 / 279.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008041/0.02501, allocations: 107.7 kB / 279.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.0253, allocations: 43.91 kB / 279.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004039/0.02934, allocations: 2.375 MB / 281.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.02977, allocations: 39.83 kB / 281.9 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.02981, allocations: 19.98 kB / 281.9 MB, free: 7.551 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: 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.0002744/0.03008, allocations: 192.5 kB / 282.1 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.03015, allocations: 27.8 kB / 282.1 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.096e-05/0.03023, allocations: 33.8 kB / 282.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.03024, allocations: 0 / 282.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.03024, allocations: 0 / 282.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.03024, allocations: 0 / 282.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.03075, allocations: 272.4 kB / 282.4 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.03075, allocations: 0 / 282.4 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.0309, allocations: 15.98 kB / 282.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000876/0.03178, allocations: 107.6 kB / 282.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.03181, allocations: 12.11 kB / 282.5 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.03534, allocations: 2.107 MB / 284.6 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.03534, allocations: 0 / 284.6 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.03657, allocations: 323.8 kB / 284.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.03665, allocations: 27.78 kB / 285 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.03671, allocations: 7.938 kB / 285 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.03697, allocations: 19.98 kB / 285 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.0371, allocations: 23.91 kB / 285 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.03712, allocations: 4 kB / 285 MB, free: 4.199 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003844/0.0375, allocations: 249.1 kB / 285.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0375, allocations: 4 kB / 285.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006658/0.03817, allocations: 83.84 kB / 285.4 MB, free: 3.867 MB / 266.7 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.0001866/0.03836, allocations: 99.23 kB / 285.4 MB, free: 3.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.03968, allocations: 0.4906 MB / 285.9 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.03969, allocations: 0 / 285.9 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006537/0.04034, allocations: 289.1 kB / 286.2 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.04084, allocations: 48.59 kB / 286.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.04226, allocations: 483 kB / 286.7 MB, free: 2.383 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.04247, allocations: 146.9 kB / 286.9 MB, free: 2.223 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.04261, allocations: 22.3 kB / 286.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.04271, allocations: 20.5 kB / 286.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.04271, allocations: 0 / 286.9 MB, free: 2.18 MB / 266.7 MB Notification: Performance of Templates: time 0.01259/0.0553, allocations: 4.15 MB / 291.1 MB, free: 14.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.553896341938525]