Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001084/0.001084, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009782/0.0009782, allocations: 147 kB / 24.89 MB, free: 9.207 MB / 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 0.9294/0.9294, allocations: 173.3 MB / 201.5 MB, free: 9.191 MB / 186.7 MB " [Timeout remaining time 179] 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.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 268.5 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.629e-05, allocations: 2.312 kB / 268.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002586/0.002612, allocations: 1.667 MB / 270.2 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006211/0.003233, allocations: 474.5 kB / 270.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.0033, allocations: 0 / 270.7 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/0.003343, allocations: 7.922 kB / 270.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.003467, allocations: 11.88 kB / 270.7 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.003659, allocations: 47.77 kB / 270.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.003741, allocations: 47.83 kB / 270.8 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.759e-05/0.003809, allocations: 8 kB / 270.8 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.259e-05/0.003881, allocations: 39.84 kB / 270.8 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.003924, allocations: 15.97 kB / 270.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.003939, allocations: 4 kB / 270.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-06/0.003946, allocations: 0 / 270.8 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.003982, allocations: 11.94 kB / 270.8 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.004003, allocations: 15.92 kB / 270.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.488e-05/0.004088, allocations: 39.83 kB / 270.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004089, allocations: 0 / 270.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00409, allocations: 0 / 270.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.004094, allocations: 0 / 270.9 MB, free: 3.738 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002713/0.004365, allocations: 272.7 kB / 271.2 MB, free: 3.449 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.004392, allocations: 12.92 kB / 271.2 MB, free: 3.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.004413, allocations: 4.938 kB / 271.2 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.004537, allocations: 141.5 kB / 271.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.004545, allocations: 4.375 kB / 271.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.004552, allocations: 4.375 kB / 271.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.004693, allocations: 118.3 kB / 271.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.004699, allocations: 192 / 271.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.004705, allocations: 384 / 271.4 MB, free: 3.125 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.00471, allocations: 3.938 kB / 271.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.615e-05/0.004726, allocations: 11.92 kB / 271.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.004869, allocations: 149.2 kB / 271.6 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.846e-05/0.004957, allocations: 53.09 kB / 271.7 MB, free: 2.875 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.004976, allocations: 17.78 kB / 271.7 MB, free: 2.852 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.004986, allocations: 7.938 kB / 271.7 MB, free: 2.844 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.005003, allocations: 38.55 kB / 271.7 MB, free: 2.797 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.005004, allocations: 0 / 271.7 MB, free: 2.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.256e-05/0.005096, allocations: 53.56 kB / 271.8 MB, free: 2.738 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.005137, allocations: 81.11 kB / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/0.0052, allocations: 133.5 kB / 272 MB, free: 2.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.525e-06/0.005207, allocations: 25.7 kB / 272 MB, free: 2.469 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.684e-05/0.005234, allocations: 84.14 kB / 272.1 MB, free: 2.383 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.005245, allocations: 3.953 kB / 272.1 MB, free: 2.379 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.005267, allocations: 21.69 kB / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.005336, allocations: 310.8 kB / 272.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.005343, allocations: 12.12 kB / 272.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-06/0.005351, allocations: 3.938 kB / 272.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.554e-05/0.005366, allocations: 8.859 kB / 272.4 MB, free: 2.012 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.005369, allocations: 3.984 kB / 272.4 MB, free: 2.008 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.067e-05/0.0054, allocations: 29.7 kB / 272.5 MB, free: 1.973 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.005409, allocations: 4 kB / 272.5 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.005412, allocations: 0 / 272.5 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.005421, allocations: 7.938 kB / 272.5 MB, free: 1.961 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.583e-05/0.005457, allocations: 3.984 kB / 272.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.00546, allocations: 8.094 kB / 272.5 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.005474, allocations: 4 kB / 272.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.005478, allocations: 0 / 272.5 MB, free: 1.945 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.082e-05/0.005529, allocations: 112.6 kB / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.005563, allocations: 41.69 kB / 272.7 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.005585, allocations: 8.344 kB / 272.7 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.005588, allocations: 3.938 kB / 272.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.005591, allocations: 4 kB / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.005593, allocations: 0 / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.328e-05/0.005667, allocations: 73.88 kB / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.005668, allocations: 0 / 272.7 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.005691, allocations: 15.98 kB / 272.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.005692, allocations: 0 / 272.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.005696, allocations: 0 / 272.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005697, allocations: 0 / 272.8 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005698, allocations: 3.938 kB / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.915e-05/0.005757, allocations: 148.3 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.005779, allocations: 15.88 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.005789, allocations: 7.984 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.869e-05/0.005818, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.005837, allocations: 3.938 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.005841, allocations: 8.031 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.998e-05/0.005861, allocations: 27.34 kB / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005861, allocations: 0 / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001057/0.005967, allocations: 4 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.652e-05/0.006033, allocations: 76.42 kB / 273 MB, free: 1.336 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.648e-05/0.00608, allocations: 17.02 kB / 273.1 MB, free: 1.316 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.006081, allocations: 0 / 273.1 MB, free: 1.316 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/0.006092, allocations: 8.859 kB / 273.1 MB, free: 1.305 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.006249, allocations: 32.86 kB / 273.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.006571, allocations: 171.1 kB / 273.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.21e-05/0.006603, allocations: 59.34 kB / 273.3 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.817e-05/0.006621, allocations: 4 kB / 273.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.006664, allocations: 59.36 kB / 273.4 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006665, allocations: 0 / 273.4 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of Templates: time 0.001764/0.008429, allocations: 0.5791 MB / 274 MB, free: 376 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.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.4410775769501925]