Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001517/0.001517, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001582/0.001582, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.391/1.391, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 44.08 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2631, allocations: 52.19 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003298/0.2664, allocations: 1.726 MB / 425.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004784/0.2669, allocations: 159.5 kB / 425.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.762e-05/0.267, allocations: 3.938 kB / 425.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.824e-05/0.267, allocations: 7.938 kB / 425.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.2672, allocations: 19.86 kB / 425.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.2674, allocations: 39.84 kB / 425.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.2676, allocations: 55.83 kB / 425.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2677, allocations: 27.92 kB / 425.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.2678, allocations: 23.86 kB / 425.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.2678, allocations: 27.86 kB / 426 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2678, allocations: 4 kB / 426 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.2679, allocations: 4 kB / 426 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.2679, allocations: 23.91 kB / 426 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.268, allocations: 31.75 kB / 426 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.2681, allocations: 72.92 kB / 426.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2681, allocations: 0 / 426.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2681, allocations: 0 / 426.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2681, allocations: 0 / 426.1 MB, free: 12.45 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005212/0.2686, allocations: 317.9 kB / 426.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2687, allocations: 8.031 kB / 426.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.2687, allocations: 16.84 kB / 426.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.269, allocations: 141.7 kB / 426.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.269, allocations: 4.375 kB / 426.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.269, allocations: 4.375 kB / 426.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.2694, allocations: 177.4 kB / 426.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2694, allocations: 4.188 kB / 426.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.2694, allocations: 7.938 kB / 426.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2694, allocations: 4 kB / 426.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.2695, allocations: 35.86 kB / 426.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.27, allocations: 333 kB / 427.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.2702, allocations: 111.8 kB / 427.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2703, allocations: 58.66 kB / 427.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.2704, allocations: 0 / 427.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2704, allocations: 38.56 kB / 427.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.2704, allocations: 0 / 427.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003399/0.2707, allocations: 125.5 kB / 427.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.2708, allocations: 110.8 kB / 427.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.2709, allocations: 138.1 kB / 427.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.271, allocations: 29.7 kB / 427.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.271, allocations: 92.12 kB / 427.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.271, allocations: 3.953 kB / 427.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.2711, allocations: 29.7 kB / 427.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2712, allocations: 314.8 kB / 428.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.2713, allocations: 15.98 kB / 428.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.2714, allocations: 71.72 kB / 428.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.2715, allocations: 95.53 kB / 428.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2715, allocations: 4 kB / 428.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.2717, allocations: 113.4 kB / 428.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2717, allocations: 8 kB / 428.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2717, allocations: 0 / 428.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2717, allocations: 7.938 kB / 428.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.2718, allocations: 23.92 kB / 428.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2718, allocations: 4 kB / 428.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.2719, allocations: 11.94 kB / 428.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2719, allocations: 4.281 kB / 428.5 MB, free: 9.738 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001196/0.272, allocations: 133.7 kB / 428.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.2721, allocations: 77.73 kB / 428.7 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.2722, allocations: 16.7 kB / 428.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.2722, allocations: 4 kB / 428.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2722, allocations: 0 / 428.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2722, allocations: 0 / 428.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.2725, allocations: 160.6 kB / 428.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2725, allocations: 0 / 428.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-05/0.2725, allocations: 24.11 kB / 428.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2725, allocations: 4 kB / 428.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2726, allocations: 3.938 kB / 428.9 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.2726, allocations: 4 kB / 428.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2726, allocations: 0 / 428.9 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.2729, allocations: 312.3 kB / 429.2 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.273, allocations: 23.94 kB / 429.3 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.273, allocations: 3.938 kB / 429.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/0.2731, allocations: 4 kB / 429.3 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.2731, allocations: 3.938 kB / 429.3 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.2731, allocations: 8 kB / 429.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.824e-05/0.2732, allocations: 108.5 kB / 429.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2732, allocations: 0 / 429.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000285/0.2735, allocations: 11.95 kB / 429.4 MB, free: 8.77 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001164/0.2736, allocations: 103.2 kB / 429.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.2738, allocations: 60.23 kB / 429.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2738, allocations: 0 / 429.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.2739, allocations: 12.61 kB / 429.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.2743, allocations: 40.19 kB / 429.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.2748, allocations: 237.9 kB / 429.8 MB, free: 8.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.2752, allocations: 0.7041 MB / 430.5 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.2752, allocations: 11.44 kB / 430.6 MB, free: 7.539 MB / 334.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2752, allocations: 3.938 kB / 430.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of Templates: time 0.002799/0.278, allocations: 0.9105 MB / 431.5 MB, free: 6.625 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 6.869635084876791]