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.0009396/0.0009396, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001743/0.002682, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001067/0.001067, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001461/0.002528, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9298/0.9298, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1286/1.058, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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 1.072e-06/1.072e-06, allocations: 0 / 244.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.311e-05, allocations: 2.312 kB / 244.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002731/0.002744, allocations: 2.846 MB / 247.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007075/0.003451, allocations: 0.6891 MB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.097e-05/0.003542, allocations: 8 kB / 248.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.833e-05/0.00362, allocations: 43.52 kB / 248.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.003737, allocations: 99.12 kB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.003878, allocations: 91.86 kB / 248.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.004155, allocations: 386.3 kB / 248.9 MB, free: 10 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.004295, allocations: 93.84 kB / 249 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.004504, allocations: 255.9 kB / 249.2 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.004642, allocations: 131.6 kB / 249.4 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.004682, allocations: 32 kB / 249.4 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.79e-05/0.00472, allocations: 36 kB / 249.4 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.004761, allocations: 51.81 kB / 249.5 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/0.004834, allocations: 91.88 kB / 249.6 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.005053, allocations: 227.1 kB / 249.8 MB, free: 9.105 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.005065, allocations: 0 / 249.8 MB, free: 9.105 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005065, allocations: 0 / 249.8 MB, free: 9.105 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.005076, allocations: 0 / 249.8 MB, free: 9.105 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007486/0.005824, allocations: 0.6037 MB / 250.4 MB, free: 8.469 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.005854, allocations: 15.98 kB / 250.4 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.005913, allocations: 40.91 kB / 250.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.006093, allocations: 186.1 kB / 250.6 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.006113, allocations: 16.88 kB / 250.6 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.00614, allocations: 24.38 kB / 250.7 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.006409, allocations: 291.3 kB / 251 MB, free: 7.855 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.006419, allocations: 192 / 251 MB, free: 7.855 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.006434, allocations: 4.375 kB / 251 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.006444, allocations: 11.94 kB / 251 MB, free: 7.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.006545, allocations: 73.41 kB / 251 MB, free: 7.766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007427/0.007288, allocations: 0.7897 MB / 251.8 MB, free: 6.914 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.00743, allocations: 86.47 kB / 251.9 MB, free: 6.82 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.007465, allocations: 28.84 kB / 251.9 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.007482, allocations: 8 kB / 251.9 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.00763, allocations: 165.3 kB / 252.1 MB, free: 6.586 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.007631, allocations: 0 / 252.1 MB, free: 6.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004877/0.008119, allocations: 198.6 kB / 252.3 MB, free: 6.383 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.008155, allocations: 59.39 kB / 252.4 MB, free: 6.312 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.008292, allocations: 240.9 kB / 252.6 MB, free: 6.066 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.008311, allocations: 25.7 kB / 252.6 MB, free: 6.035 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.008655, allocations: 195.9 kB / 252.8 MB, free: 5.836 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.008676, allocations: 39.69 kB / 252.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.008731, allocations: 57.91 kB / 252.9 MB, free: 5.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.008804, allocations: 338.7 kB / 253.2 MB, free: 5.391 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.008848, allocations: 49.92 kB / 253.3 MB, free: 5.336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.00895, allocations: 215.2 kB / 253.5 MB, free: 5.059 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.009091, allocations: 205.5 kB / 253.7 MB, free: 4.809 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.009094, allocations: 0 / 253.7 MB, free: 4.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002597/0.009353, allocations: 261.4 kB / 254 MB, free: 4.531 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.009388, allocations: 40.19 kB / 254 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.009394, allocations: 4 kB / 254 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/0.009607, allocations: 69.22 kB / 254.1 MB, free: 4.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.009703, allocations: 47.91 kB / 254.1 MB, free: 4.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007795/0.01048, allocations: 1.323 MB / 255.4 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.0106, allocations: 55.78 kB / 255.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.01062, allocations: 8 kB / 255.5 MB, free: 2.898 MB / 250.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 7.106e-05/0.01069, allocations: 129.4 kB / 255.6 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.01071, allocations: 11.98 kB / 255.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.01073, allocations: 29.77 kB / 255.7 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01073, allocations: 3.938 kB / 255.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.82e-07/0.01073, allocations: 0 / 255.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01074, allocations: 4 kB / 255.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.236e-05/0.01083, allocations: 137.7 kB / 255.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01083, allocations: 0 / 255.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.01087, allocations: 15.98 kB / 255.8 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.0109, allocations: 15.86 kB / 255.8 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/0.01105, allocations: 68.8 kB / 255.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.01106, allocations: 0 / 255.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006751/0.01173, allocations: 1.297 MB / 257.2 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01173, allocations: 0 / 257.2 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.01191, allocations: 157.6 kB / 257.4 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.01192, allocations: 4 kB / 257.4 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.012, allocations: 28 kB / 257.4 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.01205, allocations: 19.97 kB / 257.4 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.01206, allocations: 0 / 257.4 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.794e-05/0.01211, allocations: 82.77 kB / 257.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01211, allocations: 0 / 257.5 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.01229, allocations: 83.83 kB / 257.6 MB, free: 0.6914 MB / 250.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.191e-05/0.01236, allocations: 80.41 kB / 257.6 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.01266, allocations: 327.4 kB / 258 MB, free: 260 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.01267, allocations: 4 kB / 258 MB, free: 256 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.01279, allocations: 175.4 kB / 258.1 MB, free: 64 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.01304, allocations: 397.4 kB / 258.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.0145, allocations: 465.5 kB / 259 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.01454, allocations: 84.17 kB / 259.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.069e-05/0.01461, allocations: 22.3 kB / 259.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.01475, allocations: 99.33 kB / 259.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01475, allocations: 0 / 259.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Templates: time 0.006053/0.0208, allocations: 4.385 MB / 263.6 MB, free: 10.58 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5186386881396174]