Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001613/0.001613, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002066/0.002066, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.73/1.73, allocations: 230.3 MB / 257.9 MB, free: 8.219 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3568, allocations: 53.36 MB / 432.1 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003692/0.3605, allocations: 1.616 MB / 433.7 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3617, allocations: 0.5765 MB / 434.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3619, allocations: 7.938 kB / 434.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.41e-05/0.3619, allocations: 11.86 kB / 434.3 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.3621, allocations: 7.938 kB / 434.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.3625, allocations: 67.38 kB / 434.4 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.3626, allocations: 51.83 kB / 434.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3627, allocations: 16.17 kB / 434.5 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3629, allocations: 31.86 kB / 434.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.3629, allocations: 19.91 kB / 434.5 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.363, allocations: 4 kB / 434.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.586e-05/0.363, allocations: 4 kB / 434.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.3631, allocations: 19.86 kB / 434.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.3631, allocations: 31.75 kB / 434.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3633, allocations: 57.42 kB / 434.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3633, allocations: 0 / 434.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3633, allocations: 0 / 434.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3633, allocations: 0 / 434.6 MB, free: 4.578 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.0006116/0.364, allocations: 313.9 kB / 434.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.364, allocations: 8.031 kB / 435 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.3642, allocations: 20.88 kB / 435 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.3645, allocations: 150.5 kB / 435.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3645, allocations: 384 / 435.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.3646, allocations: 7.938 kB / 435.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.3649, allocations: 117.8 kB / 435.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3649, allocations: 0 / 435.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.3649, allocations: 4 kB / 435.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3649, allocations: 0 / 435.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.164e-05/0.365, allocations: 27.92 kB / 435.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.3655, allocations: 245.6 kB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.3656, allocations: 71.8 kB / 435.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.3657, allocations: 30.62 kB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3657, allocations: 4 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.3657, allocations: 30.56 kB / 435.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3657, allocations: 0 / 435.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003056/0.366, allocations: 97.53 kB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.3661, allocations: 106.8 kB / 435.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3663, allocations: 145.7 kB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3663, allocations: 29.7 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.3664, allocations: 92.12 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.3664, allocations: 3.938 kB / 436.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.3664, allocations: 25.95 kB / 436.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3666, allocations: 318.8 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.3667, allocations: 8 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.624e-05/0.3667, allocations: 35.42 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3668, allocations: 51.36 kB / 436.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3668, allocations: 0 / 436.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001444/0.367, allocations: 69.55 kB / 436.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.367, allocations: 4 kB / 436.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.367, allocations: 0 / 436.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.367, allocations: 8.125 kB / 436.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.3671, allocations: 11.98 kB / 436.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3671, allocations: 4 kB / 436.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.3671, allocations: 3.938 kB / 436.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3672, allocations: 8 kB / 436.7 MB, free: 2.305 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.0001126/0.3673, allocations: 113.8 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.3674, allocations: 61.53 kB / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.3674, allocations: 11.97 kB / 436.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3674, allocations: 4.062 kB / 436.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3674, allocations: 3.984 kB / 436.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3674, allocations: 7.938 kB / 436.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.3676, allocations: 136.7 kB / 437 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3676, allocations: 4 kB / 437 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.3677, allocations: 7.984 kB / 437 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3677, allocations: 4 kB / 437 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3677, allocations: 0 / 437 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3677, allocations: 0 / 437 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3677, allocations: 7.938 kB / 437 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.3679, allocations: 181.1 kB / 437.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.368, allocations: 16.02 kB / 437.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.368, allocations: 7.938 kB / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.368, allocations: 0 / 437.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.3681, allocations: 15.92 kB / 437.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3681, allocations: 4 kB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.3682, allocations: 114.2 kB / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3682, allocations: 0 / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.3684, allocations: 7.938 kB / 437.3 MB, free: 1.527 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.0001214/0.3685, allocations: 99.19 kB / 437.4 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.3687, allocations: 31.97 kB / 437.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3687, allocations: 4.25 kB / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.3688, allocations: 11.94 kB / 437.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3691, allocations: 25.27 kB / 437.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.3696, allocations: 192.4 kB / 437.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.37, allocations: 0.6926 MB / 438.4 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.95e-05/0.37, allocations: 8 kB / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.37, allocations: 11.44 kB / 438.4 MB, free: 408 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.37, allocations: 0 / 438.4 MB, free: 408 kB / 334.1 MB Notification: Performance of Templates: time 0.003871/0.3739, allocations: 0.6201 MB / 439 MB, free: 15.78 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.361174329183996]