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.001212/0.001212, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001277/0.001277, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.098/1.098, allocations: 177.1 MB / 205 MB, free: 5.598 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 2.104e-06/2.104e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.739e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00276/0.002788, allocations: 1.947 MB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.004765, allocations: 1.262 MB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.004899, allocations: 7.938 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.005241, allocations: 67.61 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.005591, allocations: 139.4 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.006136, allocations: 231 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.006363, allocations: 179.5 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.00648, allocations: 33.72 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.006609, allocations: 99.67 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.006716, allocations: 71.78 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.00674, allocations: 12 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.006883, allocations: 67.94 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.035e-05/0.006964, allocations: 51.78 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.007028, allocations: 43.84 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.007327, allocations: 187.2 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.007331, allocations: 0 / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.007333, allocations: 0 / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.007338, allocations: 4 kB / 277.3 MB, free: 13.12 MB / 266.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.0006172/0.007956, allocations: 0.575 MB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.007994, allocations: 8.031 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.008056, allocations: 32.73 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.008335, allocations: 223.6 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.008355, allocations: 8.359 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.008374, allocations: 12.31 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.008662, allocations: 185.7 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.008677, allocations: 11.92 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.008687, allocations: 0 / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.008695, allocations: 0 / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.638e-05/0.008751, allocations: 31.92 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.009161, allocations: 367 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.009311, allocations: 117.3 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.009359, allocations: 47.05 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.00938, allocations: 4 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.009488, allocations: 68.98 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.009489, allocations: 4 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002565/0.009746, allocations: 121.5 kB / 279.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.009819, allocations: 140.5 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.01005, allocations: 324.6 kB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.01006, allocations: 29.7 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.01015, allocations: 186.8 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.01018, allocations: 15.84 kB / 279.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.01022, allocations: 35.36 kB / 279.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.01038, allocations: 0.504 MB / 280.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.01041, allocations: 11.98 kB / 280.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.01048, allocations: 110.1 kB / 280.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.924e-05/0.01055, allocations: 47.25 kB / 280.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01056, allocations: 0 / 280.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001088/0.01066, allocations: 85.58 kB / 280.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01068, allocations: 11.98 kB / 280.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01069, allocations: 0 / 280.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.0107, allocations: 0 / 280.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.485e-05/0.01079, allocations: 15.94 kB / 280.6 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01079, allocations: 0 / 280.6 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.01083, allocations: 4 kB / 280.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.01084, allocations: 4.297 kB / 280.6 MB, free: 9.484 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 9.538e-05/0.01094, allocations: 178.9 kB / 280.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.011, allocations: 73.52 kB / 280.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.01116, allocations: 99.5 kB / 281 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01116, allocations: 4 kB / 281 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01116, allocations: 0 / 281 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01117, allocations: 0 / 281 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.0113, allocations: 192.5 kB / 281.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.0113, allocations: 0 / 281.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.788e-05/0.01135, allocations: 19.92 kB / 281.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01135, allocations: 0 / 281.2 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.01136, allocations: 12.06 kB / 281.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01136, allocations: 0 / 281.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01137, allocations: 0 / 281.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.01151, allocations: 171.5 kB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.01156, allocations: 39.78 kB / 281.4 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.01158, allocations: 4 kB / 281.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.01162, allocations: 3.984 kB / 281.4 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.01166, allocations: 11.98 kB / 281.4 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.01168, allocations: 4 kB / 281.4 MB, free: 8.598 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.0118, allocations: 225.1 kB / 281.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0118, allocations: 0 / 281.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001737/0.01198, allocations: 39.94 kB / 281.7 MB, free: 8.34 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.0008441/0.01282, allocations: 401.3 kB / 282.1 MB, free: 8.082 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.01296, allocations: 47.61 kB / 282.1 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01296, allocations: 0 / 282.1 MB, free: 8.031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.013, allocations: 35.61 kB / 282.2 MB, free: 7.992 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.01329, allocations: 61.86 kB / 282.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007618/0.01405, allocations: 349.1 kB / 282.6 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.345e-05/0.0141, allocations: 87.97 kB / 282.7 MB, free: 7.445 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.01416, allocations: 25.88 kB / 282.7 MB, free: 7.422 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.0142, allocations: 24.48 kB / 282.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.0142, allocations: 0 / 282.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of Templates: time 0.005284/0.01949, allocations: 2.99 MB / 285.7 MB, free: 4.449 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: 3.2082045623101294]