Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001978/0.001978, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001953/0.001953, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.612/1.612, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3134, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003433/0.3169, allocations: 1.594 MB / 433.9 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.318, allocations: 0.5298 MB / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.472e-05/0.3181, allocations: 7.938 kB / 434.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.253e-05/0.3181, allocations: 7.922 kB / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.3183, allocations: 11.88 kB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.3187, allocations: 67.73 kB / 434.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.3188, allocations: 43.86 kB / 434.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3189, allocations: 12.17 kB / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.3191, allocations: 35.84 kB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.3191, allocations: 19.86 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3191, allocations: 4 kB / 434.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.126e-05/0.3192, allocations: 8 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.3193, allocations: 19.92 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.3193, allocations: 15.88 kB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.3195, allocations: 62.34 kB / 434.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3195, allocations: 4 kB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3195, allocations: 0 / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3195, allocations: 0 / 434.8 MB, free: 4.266 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006544/0.3202, allocations: 317.8 kB / 435.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3202, allocations: 8.031 kB / 435.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.3204, allocations: 16.88 kB / 435.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.3208, allocations: 146.9 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.3208, allocations: 384 / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3208, allocations: 7.938 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.3212, allocations: 117.9 kB / 435.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3212, allocations: 4 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3212, allocations: 0 / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3212, allocations: 8 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.009e-05/0.3213, allocations: 23.92 kB / 435.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.3217, allocations: 222.2 kB / 435.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3218, allocations: 63.8 kB / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.667e-05/0.3219, allocations: 34.62 kB / 435.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.3219, allocations: 3.938 kB / 435.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.322, allocations: 42.5 kB / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.322, allocations: 0 / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003179/0.3223, allocations: 89.55 kB / 435.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.356e-05/0.3224, allocations: 106.8 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3225, allocations: 147.7 kB / 436.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3226, allocations: 25.7 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.3226, allocations: 96.11 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.3227, allocations: 4 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.3227, allocations: 17.67 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3229, allocations: 327.1 kB / 436.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/0.3229, allocations: 8 kB / 436.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.323, allocations: 39.36 kB / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.3231, allocations: 47.36 kB / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3231, allocations: 0 / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001555/0.3232, allocations: 73.61 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3233, allocations: 4 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3233, allocations: 4 kB / 436.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3233, allocations: 0 / 436.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.3234, allocations: 15.92 kB / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.922e-06/0.3234, allocations: 0 / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.3234, allocations: 4 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3234, allocations: 3.938 kB / 436.8 MB, free: 2.027 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 0.0001082/0.3235, allocations: 117.8 kB / 436.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.3236, allocations: 61.66 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.3237, allocations: 11.97 kB / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3237, allocations: 0 / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3237, allocations: 7.984 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3237, allocations: 0 / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.3239, allocations: 121.3 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3239, allocations: 0 / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/0.324, allocations: 15.97 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.324, allocations: 0 / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.324, allocations: 0 / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.324, allocations: 4.062 kB / 437.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.324, allocations: 4 kB / 437.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.3242, allocations: 181.1 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.3243, allocations: 19.88 kB / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.3243, allocations: 0 / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.3244, allocations: 12 kB / 437.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.3244, allocations: 0 / 437.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3244, allocations: 7.984 kB / 437.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.88e-05/0.3245, allocations: 107.2 kB / 437.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3245, allocations: 3.938 kB / 437.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.3247, allocations: 12 kB / 437.4 MB, free: 1.281 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 (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.0001159/0.3249, allocations: 99.23 kB / 437.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.325, allocations: 31.92 kB / 437.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.325, allocations: 0 / 437.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.3251, allocations: 11.94 kB / 437.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.3255, allocations: 26.33 kB / 437.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.3259, allocations: 192.8 kB / 437.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.628e-05/0.326, allocations: 79.27 kB / 437.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.415e-05/0.326, allocations: 4 kB / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.326, allocations: 7.438 kB / 437.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.326, allocations: 0 / 437.9 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of Templates: time 0.003675/0.3297, allocations: 0.7008 MB / 438.6 MB, free: 100 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.0426070719986456]