Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001896/0.001896, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002566/0.002566, allocations: 221.5 kB / 23 MB, free: 5.582 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.684/1.684, allocations: 230.2 MB / 256.2 MB, free: 8.516 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002531/0.002531, allocations: 67.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3819, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003701/0.3856, allocations: 1.919 MB / 431.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.3881, allocations: 1.32 MB / 433 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.3882, allocations: 4 kB / 433 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.3887, allocations: 71.59 kB / 433.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004852/0.3891, allocations: 131.5 kB / 433.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008651/0.39, allocations: 234.5 kB / 433.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.3904, allocations: 175.5 kB / 433.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3905, allocations: 21.55 kB / 433.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.3906, allocations: 79.62 kB / 433.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.3908, allocations: 83.67 kB / 433.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.3908, allocations: 12 kB / 433.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.391, allocations: 67.95 kB / 433.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3911, allocations: 59.7 kB / 433.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3912, allocations: 75.48 kB / 434 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004911/0.3917, allocations: 240.3 kB / 434.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3917, allocations: 0 / 434.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3917, allocations: 0 / 434.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3917, allocations: 3.938 kB / 434.3 MB, free: 3.047 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008741/0.3926, allocations: 0.5503 MB / 434.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3927, allocations: 16.03 kB / 434.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.3927, allocations: 20.8 kB / 434.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/0.3933, allocations: 295.8 kB / 435.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3933, allocations: 4.375 kB / 435.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.3933, allocations: 8.375 kB / 435.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.3938, allocations: 171.6 kB / 435.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3938, allocations: 0 / 435.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3938, allocations: 0 / 435.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3938, allocations: 0 / 435.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3939, allocations: 31.98 kB / 435.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.3945, allocations: 394.3 kB / 435.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.3948, allocations: 111.9 kB / 435.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3949, allocations: 46.56 kB / 435.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3949, allocations: 7.922 kB / 435.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.3951, allocations: 87.31 kB / 436 MB, free: 1.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.592e-06/0.3951, allocations: 0 / 436 MB, free: 1.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004841/0.3956, allocations: 153.4 kB / 436.1 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.3957, allocations: 162.2 kB / 436.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.3961, allocations: 334.7 kB / 436.6 MB, free: 428 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.3961, allocations: 25.7 kB / 436.6 MB, free: 396 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3962, allocations: 136.1 kB / 436.8 MB, free: 256 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.3962, allocations: 19.78 kB / 436.8 MB, free: 236 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.3963, allocations: 29.95 kB / 436.8 MB, free: 200 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000279/0.3966, allocations: 342.8 kB / 437.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.3967, allocations: 20 kB / 437.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.3968, allocations: 82.84 kB / 437.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.397, allocations: 88.22 kB / 437.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.397, allocations: 4 kB / 437.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002509/0.3972, allocations: 129.4 kB / 437.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3972, allocations: 8 kB / 437.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3973, allocations: 4.125 kB / 437.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3973, allocations: 0 / 437.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3974, allocations: 16 kB / 437.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.3974, allocations: 7.984 kB / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.3975, allocations: 4 kB / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3975, allocations: 4 kB / 437.5 MB, free: 15.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001619/0.3977, allocations: 157.7 kB / 437.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-05/0.3978, allocations: 73.5 kB / 437.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.398, allocations: 135.5 kB / 437.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.398, allocations: 0 / 437.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.3981, allocations: 8 kB / 437.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3981, allocations: 4 kB / 437.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.3983, allocations: 241.5 kB / 438.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3983, allocations: 0 / 438.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.3984, allocations: 11.98 kB / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3984, allocations: 4 kB / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3984, allocations: 0 / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3984, allocations: 4 kB / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3984, allocations: 7.938 kB / 438.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.3987, allocations: 162.6 kB / 438.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.3988, allocations: 120.9 kB / 438.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.3989, allocations: 0 / 438.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.3989, allocations: 8 kB / 438.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.399, allocations: 11.98 kB / 438.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.399, allocations: 4 kB / 438.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002975/0.3993, allocations: 249.9 kB / 438.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3993, allocations: 0 / 438.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.3996, allocations: 35.94 kB / 438.7 MB, free: 14.12 MB / 350.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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001744/0.4014, allocations: 419.5 kB / 439.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000352/0.4017, allocations: 75.91 kB / 439.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4017, allocations: 0 / 439.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.16e-05/0.4018, allocations: 27.92 kB / 439.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.4023, allocations: 73.77 kB / 439.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009275/0.4032, allocations: 373.2 kB / 439.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.4038, allocations: 0.7514 MB / 440.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.4039, allocations: 25.53 kB / 440.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.404, allocations: 23.42 kB / 440.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of SimCode: time 1.363e-06/0.404, allocations: 0 / 440.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of Templates: time 0.008405/0.4124, allocations: 2.873 MB / 443.3 MB, free: 9.586 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.339106526225805]