Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001277/0.001277, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001383/0.001383, allocations: 186 kB / 22.21 MB, free: 116 kB / 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.712/1.712, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 56 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3403, allocations: 52.13 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.00351/0.3438, allocations: 1.58 MB / 422.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3448, allocations: 486.7 kB / 422.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.3449, allocations: 0 / 422.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.072e-05/0.345, allocations: 7.922 kB / 422.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.3451, allocations: 11.88 kB / 422.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.3454, allocations: 35.89 kB / 423 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3455, allocations: 43.8 kB / 423 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3457, allocations: 11.97 kB / 423 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.625e-05/0.3457, allocations: 15.94 kB / 423 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.3458, allocations: 15.92 kB / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.3458, allocations: 8 kB / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.3458, allocations: 0 / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.3459, allocations: 15.92 kB / 423.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.3459, allocations: 19.81 kB / 423.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.3461, allocations: 49.02 kB / 423.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3461, allocations: 4 kB / 423.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3461, allocations: 0 / 423.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.3461, allocations: 0 / 423.2 MB, free: 12.82 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.0005874/0.3467, allocations: 375.1 kB / 423.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.3467, allocations: 12.03 kB / 423.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.3468, allocations: 12.88 kB / 423.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.3471, allocations: 199.5 kB / 423.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3471, allocations: 4.375 kB / 423.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3471, allocations: 384 / 423.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.3474, allocations: 101.3 kB / 423.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3474, allocations: 4 kB / 423.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3474, allocations: 0 / 423.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3474, allocations: 0 / 423.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.432e-05/0.3475, allocations: 15.98 kB / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.3479, allocations: 261.7 kB / 424.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.348, allocations: 49.14 kB / 424.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.177e-05/0.348, allocations: 21.78 kB / 424.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.348, allocations: 11.92 kB / 424.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3481, allocations: 30.56 kB / 424.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3481, allocations: 0 / 424.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002856/0.3484, allocations: 65.58 kB / 424.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.3484, allocations: 89.09 kB / 424.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.3486, allocations: 133.8 kB / 424.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3486, allocations: 25.7 kB / 424.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.141e-05/0.3487, allocations: 84.14 kB / 424.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3487, allocations: 7.938 kB / 424.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.3487, allocations: 21.91 kB / 424.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3489, allocations: 326.7 kB / 425 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.3489, allocations: 7.984 kB / 425 MB, free: 10.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.349, allocations: 17.72 kB / 425 MB, free: 10.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.993e-05/0.349, allocations: 33.7 kB / 425 MB, free: 10.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.349, allocations: 0 / 425 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001115/0.3491, allocations: 49.69 kB / 425.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3492, allocations: 11.98 kB / 425.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3492, allocations: 3.938 kB / 425.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3492, allocations: 0 / 425.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.3493, allocations: 4 kB / 425.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3493, allocations: 0 / 425.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.3493, allocations: 4 kB / 425.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3493, allocations: 4.062 kB / 425.1 MB, free: 10.61 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.0001058/0.3494, allocations: 125.7 kB / 425.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.3495, allocations: 41.66 kB / 425.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.3495, allocations: 11.86 kB / 425.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3495, allocations: 0 / 425.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3495, allocations: 0 / 425.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3495, allocations: 0 / 425.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.3497, allocations: 173.6 kB / 425.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3497, allocations: 0 / 425.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.3498, allocations: 11.97 kB / 425.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3498, allocations: 0 / 425.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3498, allocations: 0 / 425.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3498, allocations: 7.938 kB / 425.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3498, allocations: 4 kB / 425.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.35, allocations: 160.3 kB / 425.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.125e-05/0.3501, allocations: 93.08 kB / 425.7 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3501, allocations: 4 kB / 425.7 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-05/0.3501, allocations: 0 / 425.7 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.3502, allocations: 4 kB / 425.7 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3502, allocations: 7.984 kB / 425.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.965e-05/0.3503, allocations: 105.8 kB / 425.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3503, allocations: 0 / 425.8 MB, free: 9.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.3505, allocations: 4 kB / 425.8 MB, free: 9.77 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 0.0001386/0.3506, allocations: 108 kB / 425.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.3508, allocations: 23.97 kB / 426 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3508, allocations: 4 kB / 426 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.3508, allocations: 4 kB / 426 MB, free: 9.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3511, allocations: 31.09 kB / 426 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.3515, allocations: 163.8 kB / 426.2 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.3519, allocations: 0.6844 MB / 426.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.302e-05/0.3519, allocations: 4 kB / 426.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.352, allocations: 11.42 kB / 426.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.352, allocations: 0 / 426.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of Templates: time 0.003112/0.3551, allocations: 487 kB / 427.3 MB, free: 8.211 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.134625689126551]