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.001408/0.001408, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009816/0.0009816, allocations: 166.2 kB / 24.82 MB, free: 9.266 MB / 18.57 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 0.9897/0.9897, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 2.124e-06/2.124e-06, allocations: 0 / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.79e-05, allocations: 2.312 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004356/0.004374, allocations: 2.787 MB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.005791, allocations: 0.6583 MB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.005953, allocations: 4 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.006117, allocations: 47.5 kB / 276.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.006345, allocations: 107.1 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.006635, allocations: 79.89 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.007088, allocations: 390.3 kB / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.00729, allocations: 87.33 kB / 277.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.007583, allocations: 219.5 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.007788, allocations: 127.6 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.007845, allocations: 36 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.644e-05/0.007902, allocations: 36 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.007967, allocations: 71.73 kB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.008092, allocations: 115.7 kB / 278.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.008413, allocations: 259.1 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.008415, allocations: 0 / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.008416, allocations: 0 / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.008422, allocations: 0 / 278.4 MB, free: 12.23 MB / 266.7 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.0007123/0.009134, allocations: 0.6662 MB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.009169, allocations: 12.03 kB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.009236, allocations: 60.7 kB / 279.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.009442, allocations: 209 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.009457, allocations: 20.88 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.009486, allocations: 32.34 kB / 279.4 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.009778, allocations: 281 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.009789, allocations: 4.188 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.009806, allocations: 4.375 kB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.009817, allocations: 11.94 kB / 279.7 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.009933, allocations: 85.38 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.01077, allocations: 1.012 MB / 280.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.01092, allocations: 91.09 kB / 280.9 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.01095, allocations: 31.75 kB / 280.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.01097, allocations: 11.94 kB / 280.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.01112, allocations: 167.5 kB / 281.1 MB, free: 9.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.01112, allocations: 0 / 281.1 MB, free: 9.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005301/0.01165, allocations: 240.9 kB / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.01169, allocations: 102.8 kB / 281.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.01183, allocations: 304.1 kB / 281.7 MB, free: 8.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.01185, allocations: 33.7 kB / 281.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.01195, allocations: 250.6 kB / 282 MB, free: 8.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.01197, allocations: 47.61 kB / 282 MB, free: 8.301 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.01203, allocations: 59.53 kB / 282.1 MB, free: 8.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.01213, allocations: 0.504 MB / 282.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.01218, allocations: 61.84 kB / 282.7 MB, free: 7.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.0123, allocations: 248.5 kB / 282.9 MB, free: 7.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.01245, allocations: 229.1 kB / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01245, allocations: 0 / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003111/0.01276, allocations: 314.9 kB / 283.4 MB, free: 6.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.01278, allocations: 37.69 kB / 283.5 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01279, allocations: 4 kB / 283.5 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.01299, allocations: 72.05 kB / 283.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.01308, allocations: 43.91 kB / 283.6 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009126/0.014, allocations: 1.886 MB / 285.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.01413, allocations: 43.91 kB / 285.5 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.01414, allocations: 12 kB / 285.5 MB, free: 4.488 MB / 266.7 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 8.233e-05/0.01422, allocations: 172.5 kB / 285.7 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.01425, allocations: 31.84 kB / 285.7 MB, free: 4.277 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.01428, allocations: 21.72 kB / 285.8 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01428, allocations: 4 kB / 285.8 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.01428, allocations: 0 / 285.8 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01429, allocations: 7.984 kB / 285.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.0144, allocations: 173 kB / 285.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.0144, allocations: 0 / 285.9 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.01444, allocations: 12 kB / 285.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/0.01459, allocations: 71.73 kB / 286 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.0146, allocations: 11.94 kB / 286 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007958/0.01539, allocations: 1.866 MB / 287.9 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01539, allocations: 0 / 287.9 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.01561, allocations: 183.8 kB / 288.1 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.01565, allocations: 27.84 kB / 288.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.01567, allocations: 7.984 kB / 288.1 MB, free: 1.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.01576, allocations: 24.02 kB / 288.1 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.0158, allocations: 27.89 kB / 288.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.01581, allocations: 3.938 kB / 288.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.351e-05/0.01589, allocations: 201.1 kB / 288.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01589, allocations: 0 / 288.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002113/0.01611, allocations: 83.84 kB / 288.4 MB, free: 1.391 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 (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 7.285e-05/0.01618, allocations: 99.23 kB / 288.5 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003015/0.01648, allocations: 381.5 kB / 288.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01648, allocations: 0 / 288.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.01661, allocations: 229.4 kB / 289.1 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.01678, allocations: 53.22 kB / 289.2 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.01741, allocations: 435 kB / 289.6 MB, free: 120 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.01745, allocations: 84.17 kB / 289.7 MB, free: 16 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.431e-05/0.01753, allocations: 22.34 kB / 289.7 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.01765, allocations: 118.1 kB / 289.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of SimCode: time 3.31e-07/0.01765, allocations: 0 / 289.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of Templates: time 0.005641/0.02329, allocations: 4.423 MB / 294.3 MB, free: 11.54 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.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.7587936399504542]