Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001858/0.001858, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002231/0.002231, allocations: 186 kB / 24.46 MB, free: 3.863 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.488/1.488, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 43.92 kB / 371.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2708, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002949/0.2738, allocations: 1.561 MB / 425.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004324/0.2742, allocations: 139.6 kB / 425.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.2743, allocations: 0 / 425.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.2743, allocations: 3.938 kB / 425.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.2744, allocations: 11.92 kB / 425.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.2747, allocations: 43.84 kB / 425.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2748, allocations: 39.86 kB / 425.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2749, allocations: 7.984 kB / 425.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.313e-05/0.2749, allocations: 11.94 kB / 425.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.275, allocations: 15.92 kB / 425.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.275, allocations: 0 / 425.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.275, allocations: 4 kB / 425.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.2751, allocations: 15.92 kB / 425.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.2751, allocations: 15.86 kB / 425.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.2752, allocations: 46.44 kB / 425.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2752, allocations: 0 / 425.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2752, allocations: 4 kB / 425.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2752, allocations: 0 / 425.7 MB, free: 12.56 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.0004649/0.2757, allocations: 306 kB / 426 MB, free: 12.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2757, allocations: 8.031 kB / 426 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.2758, allocations: 8.891 kB / 426 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.276, allocations: 141.6 kB / 426.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.276, allocations: 4.375 kB / 426.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.276, allocations: 4.375 kB / 426.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.2763, allocations: 113.6 kB / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2763, allocations: 192 / 426.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2763, allocations: 3.938 kB / 426.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2763, allocations: 4 kB / 426.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.2764, allocations: 23.86 kB / 426.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.2767, allocations: 209.4 kB / 426.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.2769, allocations: 61.2 kB / 426.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.79e-05/0.277, allocations: 29.7 kB / 426.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.277, allocations: 3.938 kB / 426.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.277, allocations: 34.56 kB / 426.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.277, allocations: 0 / 426.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002505/0.2772, allocations: 77.56 kB / 426.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.2773, allocations: 81.11 kB / 426.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2774, allocations: 134 kB / 427 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2775, allocations: 25.83 kB / 427 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.2775, allocations: 92.12 kB / 427.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.2775, allocations: 7.938 kB / 427.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.2776, allocations: 17.67 kB / 427.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2777, allocations: 322.8 kB / 427.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/0.2778, allocations: 4 kB / 427.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.282e-05/0.2778, allocations: 35.61 kB / 427.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.425e-05/0.2779, allocations: 51.36 kB / 427.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2779, allocations: 0 / 427.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001319/0.278, allocations: 65.5 kB / 427.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2781, allocations: 8 kB / 427.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2781, allocations: 96 / 427.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2781, allocations: 3.984 kB / 427.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.591e-05/0.2781, allocations: 11.98 kB / 427.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2781, allocations: 0 / 427.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.2782, allocations: 12.06 kB / 427.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.2782, allocations: 4 kB / 427.6 MB, free: 10.46 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.531e-05/0.2783, allocations: 117.8 kB / 427.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.062e-05/0.2784, allocations: 49.59 kB / 427.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.2784, allocations: 12.33 kB / 427.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2784, allocations: 4 kB / 427.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2784, allocations: 0 / 427.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2784, allocations: 0 / 427.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.2785, allocations: 113.3 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2785, allocations: 0 / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.2786, allocations: 15.98 kB / 427.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2786, allocations: 3.938 kB / 427.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-06/0.2786, allocations: 4 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.2786, allocations: 7.938 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2786, allocations: 0 / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.2788, allocations: 164.3 kB / 428.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.2788, allocations: 15.89 kB / 428.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2788, allocations: 11.92 kB / 428.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/0.2789, allocations: 0 / 428.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.2789, allocations: 4 kB / 428.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.2789, allocations: 4 kB / 428.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.679e-05/0.279, allocations: 103.3 kB / 428.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.279, allocations: 0 / 428.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.2793, allocations: 4 kB / 428.2 MB, free: 9.766 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.778e-05/0.2793, allocations: 103.1 kB / 428.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.2795, allocations: 27.98 kB / 428.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2795, allocations: 0 / 428.4 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.851e-05/0.2795, allocations: 20.17 kB / 428.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.2799, allocations: 18.53 kB / 428.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.2802, allocations: 179.5 kB / 428.6 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.414e-05/0.2803, allocations: 79.12 kB / 428.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.2803, allocations: 11.44 kB / 428.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2803, allocations: 0 / 428.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of Templates: time 0.002245/0.2826, allocations: 0.7133 MB / 429.4 MB, free: 8.566 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.816904295235872]