Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001822/0.001822, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002363/0.002363, allocations: 204.6 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 63.89 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.317, allocations: 53.4 MB / 431.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003037/0.32, allocations: 1.563 MB / 433.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004277/0.3204, allocations: 135.5 kB / 433.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.985e-05/0.3205, allocations: 7.938 kB / 433.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.324e-05/0.3206, allocations: 3.938 kB / 433.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.3207, allocations: 3.938 kB / 433.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.321, allocations: 47.83 kB / 433.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3211, allocations: 27.92 kB / 433.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3212, allocations: 11.98 kB / 433.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.3212, allocations: 15.94 kB / 433.5 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.3213, allocations: 11.86 kB / 433.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3213, allocations: 8 kB / 433.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.817e-05/0.3213, allocations: 4 kB / 433.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.3214, allocations: 11.98 kB / 433.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.3214, allocations: 19.86 kB / 433.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.3215, allocations: 53.89 kB / 433.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3215, allocations: 0 / 433.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3215, allocations: 0 / 433.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3215, allocations: 0 / 433.6 MB, free: 4.617 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.0005307/0.3221, allocations: 294.1 kB / 433.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3221, allocations: 15.98 kB / 433.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.3222, allocations: 12.89 kB / 433.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.3224, allocations: 133.6 kB / 434 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3224, allocations: 4.375 kB / 434 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.3224, allocations: 4.375 kB / 434 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.3227, allocations: 117.5 kB / 434.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3228, allocations: 192 / 434.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3228, allocations: 7.938 kB / 434.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3228, allocations: 0 / 434.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.3229, allocations: 19.97 kB / 434.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.3232, allocations: 205.4 kB / 434.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.3234, allocations: 57.14 kB / 434.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.3234, allocations: 37.75 kB / 434.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.3235, allocations: 7.875 kB / 434.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3235, allocations: 34.55 kB / 434.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3235, allocations: 8 kB / 434.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002534/0.3237, allocations: 73.56 kB / 434.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.3238, allocations: 81.11 kB / 434.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.3239, allocations: 134 kB / 434.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.324, allocations: 25.7 kB / 434.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.324, allocations: 88.14 kB / 434.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.324, allocations: 3.953 kB / 434.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.3241, allocations: 25.64 kB / 434.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3242, allocations: 314.8 kB / 435.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.3243, allocations: 20.11 kB / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.035e-05/0.3243, allocations: 27.44 kB / 435.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.115e-05/0.3244, allocations: 43.36 kB / 435.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3244, allocations: 0 / 435.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001411/0.3246, allocations: 81.52 kB / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3246, allocations: 4 kB / 435.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3246, allocations: 4 kB / 435.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3246, allocations: 0 / 435.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.3246, allocations: 8 kB / 435.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3247, allocations: 3.984 kB / 435.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.3247, allocations: 7.953 kB / 435.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3247, allocations: 0 / 435.4 MB, free: 2.52 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.075e-05/0.3248, allocations: 117.8 kB / 435.5 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.3249, allocations: 49.66 kB / 435.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.3249, allocations: 16.34 kB / 435.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.3249, allocations: 0 / 435.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3249, allocations: 4 kB / 435.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3249, allocations: 3.984 kB / 435.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.3251, allocations: 113.3 kB / 435.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3251, allocations: 0 / 435.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.3251, allocations: 8 kB / 435.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3251, allocations: 3.938 kB / 435.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3251, allocations: 0 / 435.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3251, allocations: 7.938 kB / 435.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3251, allocations: 4 kB / 435.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3253, allocations: 172.3 kB / 435.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.3253, allocations: 11.92 kB / 435.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3254, allocations: 0 / 435.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.3254, allocations: 8 kB / 435.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.3255, allocations: 3.984 kB / 435.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.3255, allocations: 4.375 kB / 435.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.218e-05/0.3255, allocations: 95.27 kB / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3255, allocations: 0 / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.3258, allocations: 8 kB / 436 MB, free: 1.828 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 0.0001026/0.3259, allocations: 103.2 kB / 436.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.326, allocations: 31.91 kB / 436.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.326, allocations: 0 / 436.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.3261, allocations: 8 kB / 436.2 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.3264, allocations: 22.84 kB / 436.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.3267, allocations: 169.3 kB / 436.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.544e-05/0.3268, allocations: 79.64 kB / 436.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.571e-05/0.3268, allocations: 4 kB / 436.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.3269, allocations: 11.44 kB / 436.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3269, allocations: 0 / 436.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of Templates: time 0.003022/0.3299, allocations: 0.546 MB / 437 MB, free: 0.8242 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.674947028979659]