Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007588/0.0007588, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009593/0.001718, allocations: 445.7 kB / 10.37 MB, free: 328 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.0007148/0.0007148, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000905/0.00162, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9211/0.9211, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1448/1.066, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 221.9 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.36e-05, allocations: 6.25 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002488/0.002501, allocations: 2.759 MB / 224.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.003361, allocations: 0.7018 MB / 225.3 MB, free: 12.66 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.003468, allocations: 7.938 kB / 225.3 MB, free: 12.65 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.902e-05/0.003547, allocations: 43.58 kB / 225.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.003676, allocations: 107.1 kB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.00382, allocations: 83.81 kB / 225.6 MB, free: 12.42 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.004118, allocations: 386.3 kB / 225.9 MB, free: 12.04 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.004257, allocations: 89.97 kB / 226 MB, free: 11.96 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.004487, allocations: 260 kB / 226.3 MB, free: 11.7 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.004617, allocations: 119.7 kB / 226.4 MB, free: 11.59 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.004662, allocations: 36 kB / 226.4 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.384e-05/0.004696, allocations: 32 kB / 226.5 MB, free: 11.52 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.004736, allocations: 59.81 kB / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.925e-05/0.004815, allocations: 95.81 kB / 226.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.005032, allocations: 223.2 kB / 226.8 MB, free: 11.15 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.005047, allocations: 0 / 226.8 MB, free: 11.15 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.4e-07/0.005047, allocations: 0 / 226.8 MB, free: 11.15 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.005065, allocations: 0 / 226.8 MB, free: 11.15 MB / 234.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.0007654/0.005831, allocations: 0.6036 MB / 227.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.005868, allocations: 12.03 kB / 227.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.005927, allocations: 40.89 kB / 227.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.006122, allocations: 178.3 kB / 227.7 MB, free: 10.26 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.006139, allocations: 16.88 kB / 227.7 MB, free: 10.24 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.006162, allocations: 20.38 kB / 227.7 MB, free: 10.22 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.006445, allocations: 287.3 kB / 228 MB, free: 9.914 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.006454, allocations: 192 / 228 MB, free: 9.914 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.006472, allocations: 12.38 kB / 228 MB, free: 9.902 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.00648, allocations: 11.94 kB / 228 MB, free: 9.891 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.006584, allocations: 65.47 kB / 228.1 MB, free: 9.828 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007677/0.007352, allocations: 0.8013 MB / 228.9 MB, free: 8.965 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.007497, allocations: 86.52 kB / 228.9 MB, free: 8.871 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.007533, allocations: 28.83 kB / 229 MB, free: 8.84 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.007553, allocations: 4 kB / 229 MB, free: 8.836 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.007696, allocations: 157.3 kB / 229.1 MB, free: 8.648 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.007697, allocations: 0 / 229.1 MB, free: 8.648 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004943/0.008192, allocations: 210.2 kB / 229.3 MB, free: 8.434 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.008223, allocations: 55.41 kB / 229.4 MB, free: 8.367 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.008376, allocations: 248.8 kB / 229.6 MB, free: 8.113 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.008392, allocations: 25.7 kB / 229.7 MB, free: 8.082 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.008476, allocations: 195.7 kB / 229.9 MB, free: 7.883 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.008499, allocations: 39.67 kB / 229.9 MB, free: 7.844 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.008555, allocations: 49.92 kB / 229.9 MB, free: 7.789 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.008638, allocations: 334.8 kB / 230.3 MB, free: 7.453 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.008686, allocations: 53.92 kB / 230.3 MB, free: 7.395 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.008797, allocations: 215.3 kB / 230.5 MB, free: 7.117 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.008939, allocations: 193.4 kB / 230.7 MB, free: 6.879 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.008942, allocations: 0 / 230.7 MB, free: 6.879 MB / 234.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002746/0.009217, allocations: 257.7 kB / 231 MB, free: 6.605 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.009253, allocations: 37.7 kB / 231 MB, free: 6.562 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.009261, allocations: 7.984 kB / 231 MB, free: 6.555 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.009489, allocations: 68.91 kB / 231.1 MB, free: 6.484 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.009596, allocations: 47.91 kB / 231.1 MB, free: 6.438 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009428/0.01054, allocations: 1.316 MB / 232.4 MB, free: 5.031 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.01067, allocations: 43.77 kB / 232.5 MB, free: 4.988 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.01068, allocations: 12 kB / 232.5 MB, free: 4.977 MB / 234.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.611e-05/0.01077, allocations: 138.4 kB / 232.6 MB, free: 4.832 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.01079, allocations: 15.98 kB / 232.6 MB, free: 4.816 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.01081, allocations: 21.77 kB / 232.7 MB, free: 4.801 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01082, allocations: 7.938 kB / 232.7 MB, free: 4.793 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01082, allocations: 0 / 232.7 MB, free: 4.793 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01082, allocations: 0 / 232.7 MB, free: 4.793 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.01093, allocations: 133.8 kB / 232.8 MB, free: 4.645 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01093, allocations: 0 / 232.8 MB, free: 4.645 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.01097, allocations: 19.92 kB / 232.8 MB, free: 4.625 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.01101, allocations: 27.8 kB / 232.9 MB, free: 4.598 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001563/0.01117, allocations: 60.8 kB / 232.9 MB, free: 4.535 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01117, allocations: 7.984 kB / 232.9 MB, free: 4.527 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006955/0.01187, allocations: 1.292 MB / 234.2 MB, free: 3.148 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01187, allocations: 0 / 234.2 MB, free: 3.148 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.01205, allocations: 157.7 kB / 234.4 MB, free: 2.973 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.01207, allocations: 8 kB / 234.4 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.01214, allocations: 15.98 kB / 234.4 MB, free: 2.949 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.0122, allocations: 23.91 kB / 234.4 MB, free: 2.926 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.01221, allocations: 3.984 kB / 234.4 MB, free: 2.922 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.278e-05/0.01228, allocations: 82.78 kB / 234.5 MB, free: 2.844 MB / 234.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01228, allocations: 4 kB / 234.5 MB, free: 2.84 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000197/0.01248, allocations: 83.83 kB / 234.6 MB, free: 2.758 MB / 234.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.565e-05/0.01255, allocations: 76.42 kB / 234.7 MB, free: 2.676 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.01286, allocations: 320 kB / 235 MB, free: 2.332 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.01287, allocations: 8.188 kB / 235 MB, free: 2.324 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.01299, allocations: 171.4 kB / 235.1 MB, free: 2.141 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.01313, allocations: 55.72 kB / 235.2 MB, free: 2.09 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.01464, allocations: 449.2 kB / 235.6 MB, free: 1.621 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.578e-05/0.0147, allocations: 88.17 kB / 235.7 MB, free: 1.516 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.262e-05/0.01476, allocations: 22.28 kB / 235.7 MB, free: 1.488 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.01487, allocations: 99.34 kB / 235.8 MB, free: 1.391 MB / 234.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01487, allocations: 0 / 235.8 MB, free: 1.391 MB / 234.7 MB Notification: Performance of Templates: time 0.005845/0.02072, allocations: 4.432 MB / 240.3 MB, free: 12.97 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5810537207871675]