Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001325/0.001325, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001044/0.001044, allocations: 143.1 kB / 24.89 MB, free: 8.676 MB / 18.57 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 0.9371/0.9371, allocations: 173.3 MB / 201.5 MB, free: 9.203 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 268.5 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.879e-05, allocations: 10.31 kB / 268.5 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003342/0.003361, allocations: 1.905 MB / 270.4 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.00539, allocations: 1.141 MB / 271.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.005503, allocations: 4 kB / 271.5 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.005821, allocations: 71.53 kB / 271.6 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.006086, allocations: 91.53 kB / 271.7 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.00678, allocations: 267 kB / 271.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.007026, allocations: 175.5 kB / 272.1 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.00713, allocations: 22.45 kB / 272.1 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.007285, allocations: 95.73 kB / 272.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.0074, allocations: 59.8 kB / 272.3 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.007425, allocations: 8 kB / 272.3 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.007585, allocations: 75.81 kB / 272.4 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/0.007667, allocations: 55.77 kB / 272.4 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.007726, allocations: 47.84 kB / 272.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.008003, allocations: 179.3 kB / 272.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.008005, allocations: 0 / 272.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.008006, allocations: 0 / 272.6 MB, free: 2.004 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.00801, allocations: 0 / 272.6 MB, free: 2.004 MB / 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.0005365/0.008546, allocations: 433.2 kB / 273.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.008584, allocations: 12.03 kB / 273.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.008636, allocations: 16.92 kB / 273.1 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.008913, allocations: 216.7 kB / 273.3 MB, free: 1.285 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.008932, allocations: 4.375 kB / 273.3 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.008951, allocations: 8.375 kB / 273.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.009197, allocations: 141.2 kB / 273.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.009209, allocations: 7.922 kB / 273.5 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.009218, allocations: 0 / 273.5 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.009226, allocations: 4 kB / 273.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.641e-05/0.009282, allocations: 26.75 kB / 273.5 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.009611, allocations: 203.5 kB / 273.7 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.009767, allocations: 133.4 kB / 273.8 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.009813, allocations: 34.56 kB / 273.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.009831, allocations: 3.938 kB / 273.9 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.00994, allocations: 74.14 kB / 273.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.009941, allocations: 0 / 273.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001842/0.01013, allocations: 89.59 kB / 274 MB, free: 476 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.01018, allocations: 114.8 kB / 274.1 MB, free: 336 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.01041, allocations: 250.7 kB / 274.4 MB, free: 68 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.01043, allocations: 29.7 kB / 274.4 MB, free: 32 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.01051, allocations: 108.6 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.01053, allocations: 11.91 kB / 274.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.01058, allocations: 33.64 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.01068, allocations: 326.8 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.0107, allocations: 11.06 kB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.01075, allocations: 56.27 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.01081, allocations: 43.3 kB / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01081, allocations: 0 / 275 MB, free: 15.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000106/0.01092, allocations: 72.42 kB / 275 MB, free: 15.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.01093, allocations: 7.938 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.01093, allocations: 0 / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.01094, allocations: 0 / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.01102, allocations: 19.92 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.01102, allocations: 64 / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.01107, allocations: 15.98 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.01108, allocations: 0 / 275.1 MB, free: 15.29 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.28e-05/0.01116, allocations: 118.2 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.01123, allocations: 61.55 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.01135, allocations: 75.44 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01136, allocations: 4 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.01136, allocations: 0 / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01136, allocations: 3.984 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.0115, allocations: 113.8 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.0115, allocations: 4 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.01156, allocations: 16.23 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01156, allocations: 0 / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01157, allocations: 11.94 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01157, allocations: 0 / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01157, allocations: 0 / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.01169, allocations: 108.5 kB / 275.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.01175, allocations: 23.89 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.01178, allocations: 7.938 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.664e-05/0.01182, allocations: 8 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.01186, allocations: 11.98 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01187, allocations: 3.938 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.01198, allocations: 101.6 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01198, allocations: 0 / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.01221, allocations: 35.89 kB / 275.8 MB, free: 14.52 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.001497/0.0137, allocations: 0.5165 MB / 276.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.01383, allocations: 48.77 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.01383, allocations: 0 / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.01388, allocations: 24.84 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.01413, allocations: 61.2 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.01464, allocations: 324.3 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.013e-05/0.0147, allocations: 79.83 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.046e-05/0.01477, allocations: 25.72 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.01489, allocations: 79.36 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01489, allocations: 4 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Templates: time 0.006828/0.02172, allocations: 3.11 MB / 280 MB, free: 10.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6561778439208865]