Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0009739/0.0009739, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001006/0.001006, allocations: 168.4 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9116/0.9116, allocations: 177.1 MB / 206.1 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.328e-05, allocations: 5.547 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.005585/0.005598, allocations: 1.91 MB / 276.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.007204, allocations: 1.257 MB / 277.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.007304, allocations: 3.938 kB / 277.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003275/0.01058, allocations: 72.12 kB / 277.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.0109, allocations: 140.7 kB / 277.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.01141, allocations: 226.9 kB / 277.8 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.01163, allocations: 183.5 kB / 278 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.01173, allocations: 25.73 kB / 278 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.01186, allocations: 103.7 kB / 278.1 MB, free: 500 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.01196, allocations: 71.8 kB / 278.2 MB, free: 428 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.01198, allocations: 8 kB / 278.2 MB, free: 420 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.01211, allocations: 73.88 kB / 278.2 MB, free: 348 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.01218, allocations: 51.77 kB / 278.3 MB, free: 296 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.01223, allocations: 43.84 kB / 278.3 MB, free: 252 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.01247, allocations: 183.3 kB / 278.5 MB, free: 68 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.01247, allocations: 4 kB / 278.5 MB, free: 64 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01247, allocations: 0.5 kB / 278.5 MB, free: 64 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.01248, allocations: 4 kB / 278.5 MB, free: 60 kB / 250.7 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.0005479/0.01302, allocations: 0.5711 MB / 279.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.01305, allocations: 8.031 kB / 279.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.01311, allocations: 28.8 kB / 279.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.01334, allocations: 219.6 kB / 279.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003032/0.01637, allocations: 12.36 kB / 279.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.01638, allocations: 4.375 kB / 279.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.0166, allocations: 157.2 kB / 279.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.01662, allocations: 3.938 kB / 279.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.01663, allocations: 7.938 kB / 279.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.01663, allocations: 0 / 279.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.393e-05/0.01668, allocations: 15.98 kB / 279.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.01726, allocations: 327.6 kB / 279.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.0174, allocations: 109.3 kB / 280 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.01744, allocations: 47 kB / 280 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.01746, allocations: 3.984 kB / 280 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.208e-05/0.01755, allocations: 72.97 kB / 280.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.01755, allocations: 0 / 280.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002141/0.01777, allocations: 117.5 kB / 280.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.01781, allocations: 106.8 kB / 280.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.01804, allocations: 316.5 kB / 280.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.01806, allocations: 29.7 kB / 280.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.279e-05/0.01815, allocations: 190.7 kB / 280.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.01817, allocations: 19.89 kB / 280.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.01822, allocations: 31.36 kB / 280.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.01836, allocations: 0.5117 MB / 281.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.01838, allocations: 8 kB / 281.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.01842, allocations: 64.73 kB / 281.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.01847, allocations: 35.61 kB / 281.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.01848, allocations: 8 kB / 281.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001093/0.01859, allocations: 93.45 kB / 281.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.0186, allocations: 4 kB / 281.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.0186, allocations: 160 / 281.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.01861, allocations: 0 / 281.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.01868, allocations: 15.98 kB / 281.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.696e-06/0.01868, allocations: 3.984 kB / 281.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.01872, allocations: 7.938 kB / 281.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.01873, allocations: 0 / 281.6 MB, free: 12.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.766e-05/0.01882, allocations: 164.5 kB / 281.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.01888, allocations: 77.52 kB / 281.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.01902, allocations: 95.36 kB / 282 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01902, allocations: 4 kB / 282 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01902, allocations: 0 / 282 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01902, allocations: 0 / 282 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.01915, allocations: 153.1 kB / 282.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.01916, allocations: 4 kB / 282.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.0192, allocations: 11.98 kB / 282.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.0192, allocations: 7.938 kB / 282.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.01921, allocations: 8.062 kB / 282.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003006/0.02222, allocations: 0 / 282.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.02222, allocations: 4 kB / 282.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.02235, allocations: 147.6 kB / 282.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.02241, allocations: 39.77 kB / 282.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.02243, allocations: 7.938 kB / 282.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.09e-05/0.02247, allocations: 4 kB / 282.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.02251, allocations: 7.984 kB / 282.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.02252, allocations: 12 kB / 282.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.02264, allocations: 213.1 kB / 282.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02264, allocations: 4 kB / 282.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.02287, allocations: 28 kB / 282.6 MB, free: 11.58 MB / 266.7 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 (10): * Single equations (assignments): 8 * 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.0008661/0.02373, allocations: 411 kB / 283 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.02384, allocations: 43.66 kB / 283 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.02384, allocations: 3.938 kB / 283.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.02388, allocations: 31.66 kB / 283.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.02416, allocations: 60.66 kB / 283.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.02455, allocations: 337.1 kB / 283.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.0246, allocations: 91.83 kB / 283.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.425e-05/0.02466, allocations: 25.88 kB / 283.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.02476, allocations: 106.2 kB / 283.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02476, allocations: 0 / 283.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of Templates: time 0.008346/0.03311, allocations: 3.202 MB / 286.9 MB, free: 7.426 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.599034490995109]