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.001872/0.001872, 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.001928/0.001928, 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.536/1.536, allocations: 173.3 MB / 200.8 MB, free: 9.332 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.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.873e-06/1.873e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.279e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003515/0.003548, allocations: 1.588 MB / 268.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.004666, allocations: 470.5 kB / 269.4 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.831e-05/0.004745, allocations: 4 kB / 269.4 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.263e-05/0.004807, allocations: 3.938 kB / 269.4 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.004951, allocations: 11.88 kB / 269.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.005239, allocations: 39.89 kB / 269.4 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.005362, allocations: 43.78 kB / 269.5 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.00547, allocations: 19.88 kB / 269.5 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.005567, allocations: 27.91 kB / 269.5 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.00562, allocations: 15.92 kB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.005646, allocations: 4 kB / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.005659, allocations: 0 / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.005715, allocations: 19.92 kB / 269.6 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.005763, allocations: 19.92 kB / 269.6 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.005905, allocations: 51.8 kB / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.005907, allocations: 0 / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005908, allocations: 0 / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.005913, allocations: 4 kB / 269.6 MB, free: 4.414 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.0006109/0.006524, allocations: 396 kB / 270 MB, free: 3.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.006567, allocations: 12.92 kB / 270 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.006617, allocations: 8.891 kB / 270 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.006855, allocations: 144.4 kB / 270.2 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.006867, allocations: 4.375 kB / 270.2 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.00688, allocations: 4.375 kB / 270.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.007281, allocations: 124.9 kB / 270.3 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.007291, allocations: 192 / 270.3 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.007301, allocations: 384 / 270.3 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.00731, allocations: 3.938 kB / 270.3 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.007388, allocations: 27.92 kB / 270.3 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.007804, allocations: 275.5 kB / 270.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.008096, allocations: 74.11 kB / 270.7 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.008201, allocations: 35.42 kB / 270.7 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.008225, allocations: 4 kB / 270.7 MB, free: 3.168 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.00827, allocations: 45.33 kB / 270.8 MB, free: 3.113 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.008271, allocations: 0 / 270.8 MB, free: 3.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000355/0.008626, allocations: 77.73 kB / 270.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.008751, allocations: 89.17 kB / 270.9 MB, free: 2.926 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.009034, allocations: 200.6 kB / 271.1 MB, free: 2.715 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.00906, allocations: 25.7 kB / 271.2 MB, free: 2.684 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.00919, allocations: 142.9 kB / 271.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.00921, allocations: 3.953 kB / 271.3 MB, free: 2.535 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.009275, allocations: 19.38 kB / 271.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003442/0.009619, allocations: 496.1 kB / 271.8 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.342e-05/0.009672, allocations: 11.92 kB / 271.8 MB, free: 2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.00971, allocations: 4 kB / 271.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.009817, allocations: 23.75 kB / 271.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.00982, allocations: 0 / 271.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001819/0.01, allocations: 49.64 kB / 271.9 MB, free: 1.914 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.01002, allocations: 7.938 kB / 271.9 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.01003, allocations: 0 / 271.9 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.01005, allocations: 4 kB / 271.9 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.01013, allocations: 3.984 kB / 271.9 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01013, allocations: 0 / 271.9 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.01018, allocations: 4 kB / 271.9 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.01019, allocations: 3.938 kB / 271.9 MB, free: 1.891 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 0.0002317/0.01042, allocations: 156.6 kB / 272.1 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.01056, allocations: 57.58 kB / 272.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.01061, allocations: 8.344 kB / 272.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.01062, allocations: 4 kB / 272.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01063, allocations: 0 / 272.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01063, allocations: 0 / 272.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.01092, allocations: 136.6 kB / 272.3 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01092, allocations: 0 / 272.3 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.01099, allocations: 8 kB / 272.3 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.01099, allocations: 0 / 272.3 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.011, allocations: 7.938 kB / 272.3 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01101, allocations: 0 / 272.3 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01101, allocations: 4 kB / 272.3 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.01133, allocations: 223.5 kB / 272.5 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.01138, allocations: 11.94 kB / 272.5 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.01142, allocations: 11.94 kB / 272.5 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.01152, allocations: 4 kB / 272.5 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.01157, allocations: 3.938 kB / 272.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.01158, allocations: 4 kB / 272.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.01173, allocations: 149.7 kB / 272.7 MB, free: 1.035 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01173, allocations: 0 / 272.7 MB, free: 1.035 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.0121, allocations: 12 kB / 272.7 MB, free: 1.023 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 0.0001617/0.01226, allocations: 95.19 kB / 272.8 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.01246, allocations: 31.61 kB / 272.8 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01247, allocations: 0 / 272.8 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.359e-05/0.01253, allocations: 15.69 kB / 272.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.01304, allocations: 20.86 kB / 272.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.01346, allocations: 180.8 kB / 273 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.01357, allocations: 75.33 kB / 273.1 MB, free: 0.543 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.0136, allocations: 0 / 273.1 MB, free: 0.543 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.01364, allocations: 12.5 kB / 273.1 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01364, allocations: 0 / 273.1 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of Templates: time 0.003526/0.01716, allocations: 0.5641 MB / 273.7 MB, free: 15.98 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.4184092390351]