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.001467/0.001467, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001944/0.001944, allocations: 192.5 kB / 23.71 MB, free: 4.406 MB / 14.72 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.509/1.509, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 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 0.001762/0.001762, allocations: 59.89 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2687, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002941/0.2717, allocations: 1.585 MB / 424.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008423/0.2725, allocations: 442.9 kB / 425.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.2726, allocations: 0 / 425.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.181e-05/0.2727, allocations: 7.922 kB / 425.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.2728, allocations: 11.88 kB / 425.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.2731, allocations: 43.89 kB / 425.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.2732, allocations: 39.86 kB / 425.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2733, allocations: 19.97 kB / 425.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.2733, allocations: 19.92 kB / 425.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.2734, allocations: 15.86 kB / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2734, allocations: 4 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.2734, allocations: 4 kB / 425.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.2735, allocations: 11.94 kB / 425.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.963e-05/0.2735, allocations: 19.86 kB / 425.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.2736, allocations: 59.34 kB / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2736, allocations: 4 kB / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2736, allocations: 0 / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2737, allocations: 4 kB / 425.3 MB, free: 12.21 MB / 334.1 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.0004975/0.2741, allocations: 304.5 kB / 425.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2742, allocations: 8.031 kB / 425.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.2742, allocations: 12.83 kB / 425.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.2744, allocations: 138.4 kB / 425.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.2745, allocations: 384 / 425.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.2745, allocations: 8.312 kB / 425.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.2748, allocations: 121.3 kB / 425.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2748, allocations: 4 kB / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.2748, allocations: 0 / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2748, allocations: 0 / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.2749, allocations: 23.97 kB / 426 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.2752, allocations: 213.4 kB / 426.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.2754, allocations: 61.14 kB / 426.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.2754, allocations: 33.77 kB / 426.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.2755, allocations: 3.938 kB / 426.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.2755, allocations: 34.56 kB / 426.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2755, allocations: 0 / 426.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002394/0.2757, allocations: 77.56 kB / 426.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.2758, allocations: 81.11 kB / 426.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.2759, allocations: 144.9 kB / 426.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.2759, allocations: 29.7 kB / 426.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.276, allocations: 84.14 kB / 426.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.276, allocations: 8.078 kB / 426.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.276, allocations: 21.7 kB / 426.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2762, allocations: 314.8 kB / 427 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.2762, allocations: 11.98 kB / 427.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.872e-05/0.2763, allocations: 35.42 kB / 427.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.2764, allocations: 47.36 kB / 427.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2764, allocations: 7.938 kB / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/0.2765, allocations: 69.52 kB / 427.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.2765, allocations: 4 kB / 427.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2765, allocations: 4 kB / 427.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2766, allocations: 0 / 427.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.2766, allocations: 11.98 kB / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2766, allocations: 0 / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.2767, allocations: 12 kB / 427.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.2767, allocations: 4.125 kB / 427.2 MB, free: 10.09 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 9.457e-05/0.2768, allocations: 125.8 kB / 427.4 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.2768, allocations: 53.53 kB / 427.4 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.2769, allocations: 8.328 kB / 427.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2769, allocations: 4 kB / 427.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2769, allocations: 0 / 427.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2769, allocations: 0 / 427.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.277, allocations: 121.2 kB / 427.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.277, allocations: 4 kB / 427.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.2771, allocations: 7.984 kB / 427.6 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2771, allocations: 8 kB / 427.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2771, allocations: 0 / 427.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2771, allocations: 0 / 427.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2771, allocations: 0 / 427.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.2773, allocations: 180.5 kB / 427.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.2773, allocations: 11.94 kB / 427.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.2773, allocations: 0 / 427.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.2774, allocations: 8 kB / 427.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.2774, allocations: 4.031 kB / 427.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2775, allocations: 7.922 kB / 427.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.61e-05/0.2775, allocations: 111.3 kB / 427.9 MB, free: 9.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2775, allocations: 0 / 427.9 MB, free: 9.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00022/0.2778, allocations: 4 kB / 427.9 MB, free: 9.371 MB / 334.1 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 9.397e-05/0.2779, allocations: 95.25 kB / 428 MB, free: 9.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.278, allocations: 31.91 kB / 428 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.278, allocations: 0 / 428 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.278, allocations: 12 kB / 428 MB, free: 9.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.2783, allocations: 24.27 kB / 428 MB, free: 9.203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.2787, allocations: 167.7 kB / 428.2 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.2788, allocations: 83.19 kB / 428.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.191e-05/0.2788, allocations: 11.98 kB / 428.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.2788, allocations: 7.438 kB / 428.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2788, allocations: 0 / 428.3 MB, free: 8.891 MB / 334.1 MB Notification: Performance of Templates: time 0.002804/0.2816, allocations: 0.5883 MB / 428.9 MB, free: 8.316 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] 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.59983018040657]