Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001749/0.001749, allocations: 112 kB / 20.43 MB, free: 1.465 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.001463/0.001463, allocations: 186.4 kB / 23.71 MB, free: 4.715 MB / 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.563/1.563, allocations: 225.6 MB / 252.5 MB, free: 13 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 51.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3143, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003358/0.3176, allocations: 1.616 MB / 424.7 MB, free: 13.05 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001068/0.3187, allocations: 0.4948 MB / 425.2 MB, free: 12.55 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.397e-05/0.3188, allocations: 4 kB / 425.2 MB, free: 12.55 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 6.027e-05/0.3189, allocations: 7.938 kB / 425.2 MB, free: 12.54 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.319, allocations: 11.86 kB / 425.3 MB, free: 12.53 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.3193, allocations: 55.81 kB / 425.3 MB, free: 12.48 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3194, allocations: 47.78 kB / 425.4 MB, free: 12.43 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3195, allocations: 12.19 kB / 425.4 MB, free: 12.42 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.3196, allocations: 23.92 kB / 425.4 MB, free: 12.39 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.3197, allocations: 23.84 kB / 425.4 MB, free: 12.37 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.3197, allocations: 4 kB / 425.4 MB, free: 12.37 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.3197, allocations: 11.94 kB / 425.4 MB, free: 12.36 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.3198, allocations: 15.92 kB / 425.4 MB, free: 12.34 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.3198, allocations: 19.81 kB / 425.5 MB, free: 12.32 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.3199, allocations: 64.94 kB / 425.5 MB, free: 12.26 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.32, allocations: 0 / 425.5 MB, free: 12.26 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.463e-06/0.32, allocations: 0 / 425.5 MB, free: 12.26 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.43e-06/0.32, allocations: 0 / 425.5 MB, free: 12.26 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.0005104/0.3205, allocations: 302 kB / 425.8 MB, free: 11.94 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3205, allocations: 8.031 kB / 425.8 MB, free: 11.93 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.3205, allocations: 12.89 kB / 425.8 MB, free: 11.92 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3208, allocations: 146.3 kB / 426 MB, free: 11.75 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3208, allocations: 4.375 kB / 426 MB, free: 11.75 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3208, allocations: 4.375 kB / 426 MB, free: 11.74 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.3212, allocations: 122 kB / 426.1 MB, free: 11.6 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3212, allocations: 0 / 426.1 MB, free: 11.6 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3212, allocations: 4 kB / 426.1 MB, free: 11.6 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3212, allocations: 7.938 kB / 426.1 MB, free: 11.59 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.531e-05/0.3213, allocations: 19.98 kB / 426.1 MB, free: 11.57 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.3216, allocations: 249.6 kB / 426.4 MB, free: 11.28 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3218, allocations: 67.78 kB / 426.5 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.28e-05/0.3218, allocations: 30.62 kB / 426.5 MB, free: 11.14 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.3219, allocations: 8 kB / 426.5 MB, free: 11.14 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.3219, allocations: 30.56 kB / 426.5 MB, free: 11.1 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3219, allocations: 3.938 kB / 426.5 MB, free: 11.09 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.000302/0.3222, allocations: 89.5 kB / 426.6 MB, free: 11 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/0.3223, allocations: 107.2 kB / 426.7 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3224, allocations: 144.4 kB / 426.9 MB, free: 10.72 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3224, allocations: 25.7 kB / 426.9 MB, free: 10.69 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.3225, allocations: 92.14 kB / 427 MB, free: 10.6 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.3225, allocations: 7.938 kB / 427 MB, free: 10.59 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.3226, allocations: 17.72 kB / 427 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001344/0.3227, allocations: 314.8 kB / 427.3 MB, free: 10.25 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.3228, allocations: 15.98 kB / 427.3 MB, free: 10.23 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.3228, allocations: 35.42 kB / 427.4 MB, free: 10.19 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.3229, allocations: 47.36 kB / 427.4 MB, free: 10.13 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3229, allocations: 0 / 427.4 MB, free: 10.13 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001446/0.3231, allocations: 73.52 kB / 427.5 MB, free: 10.05 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3231, allocations: 4 kB / 427.5 MB, free: 10.05 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3231, allocations: 7.984 kB / 427.5 MB, free: 10.04 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3231, allocations: 0 / 427.5 MB, free: 10.04 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.3232, allocations: 8 kB / 427.5 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3232, allocations: 0 / 427.5 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.3232, allocations: 7.938 kB / 427.5 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3233, allocations: 4.125 kB / 427.5 MB, free: 10.02 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.0001068/0.3234, allocations: 133.7 kB / 427.6 MB, free: 9.879 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.3234, allocations: 53.58 kB / 427.7 MB, free: 9.82 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.3235, allocations: 7.969 kB / 427.7 MB, free: 9.809 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3235, allocations: 0 / 427.7 MB, free: 9.809 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3235, allocations: 4 kB / 427.7 MB, free: 9.805 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3235, allocations: 0 / 427.7 MB, free: 9.805 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3237, allocations: 148.7 kB / 427.8 MB, free: 9.617 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3237, allocations: 0 / 427.8 MB, free: 9.617 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.3237, allocations: 16.05 kB / 427.9 MB, free: 9.602 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3237, allocations: 0 / 427.9 MB, free: 9.602 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3237, allocations: 0 / 427.9 MB, free: 9.602 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.3237, allocations: 4 kB / 427.9 MB, free: 9.598 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3237, allocations: 3.938 kB / 427.9 MB, free: 9.594 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.324, allocations: 181.2 kB / 428 MB, free: 9.395 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.324, allocations: 19.88 kB / 428.1 MB, free: 9.375 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.324, allocations: 7.938 kB / 428.1 MB, free: 9.367 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.3241, allocations: 7.984 kB / 428.1 MB, free: 9.359 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.3241, allocations: 4 kB / 428.1 MB, free: 9.355 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.3241, allocations: 0 / 428.1 MB, free: 9.355 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.963e-05/0.3242, allocations: 115.2 kB / 428.2 MB, free: 9.242 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3242, allocations: 0 / 428.2 MB, free: 9.242 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002472/0.3245, allocations: 4 kB / 428.2 MB, free: 9.238 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.0001111/0.3246, allocations: 103.2 kB / 428.3 MB, free: 9.129 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001632/0.3248, allocations: 31.98 kB / 428.3 MB, free: 9.098 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3248, allocations: 3.938 kB / 428.3 MB, free: 9.094 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.3248, allocations: 11.98 kB / 428.4 MB, free: 9.082 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3252, allocations: 23.95 kB / 428.4 MB, free: 9.059 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.3256, allocations: 185.2 kB / 428.6 MB, free: 8.844 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3259, allocations: 0.6922 MB / 429.2 MB, free: 8.125 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.317e-05/0.3259, allocations: 4 kB / 429.3 MB, free: 8.121 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.326, allocations: 7.438 kB / 429.3 MB, free: 8.113 MB / 334.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.326, allocations: 4 kB / 429.3 MB, free: 8.109 MB / 334.1 MB
Notification: Performance of Templates: time 0.00386/0.3298, allocations: 0.6154 MB / 429.9 MB, free: 7.5 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.775620147585869]