Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 43.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2708, allocations: 53.37 MB / 432.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002966/0.2738, allocations: 1.567 MB / 433.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2748, allocations: 0.4909 MB / 434.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.67e-05/0.2749, allocations: 0 / 434.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.966e-05/0.275, allocations: 11.92 kB / 434.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.2751, allocations: 15.81 kB / 434.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.2754, allocations: 55.81 kB / 434.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.2755, allocations: 43.91 kB / 434.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.814e-05/0.2756, allocations: 7.938 kB / 434.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2757, allocations: 27.86 kB / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.653e-05/0.2758, allocations: 19.91 kB / 434.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.2758, allocations: 4 kB / 434.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.976e-05/0.2758, allocations: 4 kB / 434.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.2759, allocations: 11.94 kB / 434.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.2759, allocations: 19.86 kB / 434.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2761, allocations: 54.42 kB / 434.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2761, allocations: 0 / 434.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2761, allocations: 4 kB / 434.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.2761, allocations: 0 / 434.7 MB, free: 4.246 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004665/0.2765, allocations: 298 kB / 435 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2766, allocations: 8.031 kB / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.2767, allocations: 16.88 kB / 435 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.277, allocations: 145 kB / 435.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.277, allocations: 4.375 kB / 435.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.277, allocations: 384 / 435.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.2772, allocations: 109.3 kB / 435.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2773, allocations: 0 / 435.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.2773, allocations: 0 / 435.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2773, allocations: 0 / 435.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.222e-05/0.2773, allocations: 15.98 kB / 435.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.2776, allocations: 209.4 kB / 435.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.2777, allocations: 53.08 kB / 435.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.2778, allocations: 17.78 kB / 435.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.2778, allocations: 0 / 435.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.2778, allocations: 42.5 kB / 435.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2778, allocations: 0 / 435.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.2781, allocations: 61.62 kB / 435.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.2782, allocations: 85.05 kB / 435.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2783, allocations: 138.1 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.2783, allocations: 25.7 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.2784, allocations: 88.39 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.2784, allocations: 8 kB / 436 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.2784, allocations: 17.67 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2786, allocations: 318.8 kB / 436.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.2786, allocations: 8 kB / 436.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.096e-05/0.2787, allocations: 21.64 kB / 436.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.273e-05/0.2788, allocations: 29.7 kB / 436.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2788, allocations: 7.875 kB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001202/0.2789, allocations: 57.69 kB / 436.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2789, allocations: 8 kB / 436.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2789, allocations: 0 / 436.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2789, allocations: 0 / 436.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/0.279, allocations: 7.984 kB / 436.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.279, allocations: 0 / 436.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.279, allocations: 8 kB / 436.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.279, allocations: 3.938 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001028/0.2791, allocations: 125.8 kB / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.2792, allocations: 37.66 kB / 436.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.2792, allocations: 15.77 kB / 436.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2792, allocations: 0 / 436.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2792, allocations: 0 / 436.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2792, allocations: 3.984 kB / 436.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.2794, allocations: 117.3 kB / 436.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2794, allocations: 3.938 kB / 436.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.2794, allocations: 4 kB / 436.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2794, allocations: 0 / 436.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2794, allocations: 4.031 kB / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.2794, allocations: 7.984 kB / 436.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2794, allocations: 0 / 436.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.2796, allocations: 156.3 kB / 436.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.2797, allocations: 19.88 kB / 436.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2797, allocations: 0 / 436.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.2797, allocations: 4 kB / 436.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.2798, allocations: 0 / 436.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.2798, allocations: 7.984 kB / 436.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.682e-05/0.2799, allocations: 106 kB / 437.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2799, allocations: 4.031 kB / 437.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.2801, allocations: 8 kB / 437.1 MB, free: 1.578 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 (2): * Single equations (assignments): 2 * 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.569e-05/0.2802, allocations: 99.19 kB / 437.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.2803, allocations: 27.91 kB / 437.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2803, allocations: 0 / 437.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.2803, allocations: 11.94 kB / 437.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.2806, allocations: 16.23 kB / 437.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.281, allocations: 189.4 kB / 437.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.914e-05/0.2811, allocations: 75.31 kB / 437.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.2811, allocations: 15.38 kB / 437.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2811, allocations: 0 / 437.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of Templates: time 0.002317/0.2834, allocations: 0.7207 MB / 438.2 MB, free: 380 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.6934538199566305]