Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.0007025/0.0007025, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001754, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006553/0.0006553, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009147/0.00157, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9138/0.9138, allocations: 173.3 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08963/1.003, allocations: 52.5 MB / 238.3 MB, free: 4.438 MB / 234.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.61e-07/8.61e-07, allocations: 0 / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.703e-05, allocations: 2.312 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002171/0.002188, allocations: 1.6 MB / 241.1 MB, free: 1.582 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002465/0.002434, allocations: 153 kB / 241.3 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.002488, allocations: 4 kB / 241.3 MB, free: 1.43 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.002513, allocations: 3.938 kB / 241.3 MB, free: 1.426 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.03e-05/0.002573, allocations: 11.86 kB / 241.3 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.002693, allocations: 31.91 kB / 241.3 MB, free: 1.383 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.00275, allocations: 35.86 kB / 241.4 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.002808, allocations: 15.98 kB / 241.4 MB, free: 1.332 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.002859, allocations: 19.97 kB / 241.4 MB, free: 1.312 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.525e-05/0.002894, allocations: 11.92 kB / 241.4 MB, free: 1.301 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.002914, allocations: 0 / 241.4 MB, free: 1.301 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.002923, allocations: 4 kB / 241.4 MB, free: 1.297 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.002958, allocations: 19.94 kB / 241.4 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.002972, allocations: 7.938 kB / 241.4 MB, free: 1.27 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 6.977e-05/0.003042, allocations: 35.78 kB / 241.5 MB, free: 1.234 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.003051, allocations: 0 / 241.5 MB, free: 1.234 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003051, allocations: 0 / 241.5 MB, free: 1.234 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.003065, allocations: 0 / 241.5 MB, free: 1.234 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003274/0.003392, allocations: 280.3 kB / 241.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.003424, allocations: 12.03 kB / 241.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.003449, allocations: 8.922 kB / 241.8 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.003574, allocations: 125.7 kB / 241.9 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.003583, allocations: 12.38 kB / 241.9 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.003592, allocations: 8.312 kB / 241.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.003741, allocations: 110.2 kB / 242 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.003751, allocations: 192 / 242 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.003758, allocations: 4.375 kB / 242 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.003762, allocations: 4.359 kB / 242 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.557e-05/0.003778, allocations: 7.938 kB / 242 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.003922, allocations: 165.1 kB / 242.2 MB, free: 432 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/0.00401, allocations: 45.14 kB / 242.3 MB, free: 368 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.004028, allocations: 17.78 kB / 242.3 MB, free: 344 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.004043, allocations: 4 kB / 242.3 MB, free: 340 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.004058, allocations: 34.5 kB / 242.3 MB, free: 296 kB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.004059, allocations: 3.938 kB / 242.3 MB, free: 292 kB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 7.112e-05/0.00413, allocations: 53.61 kB / 242.4 MB, free: 232 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.004162, allocations: 85.05 kB / 242.4 MB, free: 128 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.045e-05/0.004232, allocations: 130.4 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.004243, allocations: 33.7 kB / 242.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.004267, allocations: 88.03 kB / 242.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-06/0.004272, allocations: 0 / 242.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.004293, allocations: 21.67 kB / 242.7 MB, free: 15.83 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.004364, allocations: 322.8 kB / 243 MB, free: 15.51 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-06/0.004367, allocations: 0 / 243 MB, free: 15.51 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-06/0.004371, allocations: 0 / 243 MB, free: 15.51 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.107e-05/0.004382, allocations: 8.859 kB / 243 MB, free: 15.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.004383, allocations: 0 / 243 MB, free: 15.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.546e-05/0.004408, allocations: 37.7 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.004416, allocations: 7.984 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.004419, allocations: 4 kB / 243.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-06/0.004423, allocations: 0 / 243.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.993e-05/0.004443, allocations: 3.938 kB / 243.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-06/0.004444, allocations: 0 / 243.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.696e-06/0.004453, allocations: 4 kB / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-06/0.004455, allocations: 0 / 243.1 MB, free: 15.43 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.52e-05/0.0045, allocations: 108.7 kB / 243.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.004534, allocations: 45.62 kB / 243.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.778e-05/0.004551, allocations: 12.38 kB / 243.3 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.004553, allocations: 3.984 kB / 243.3 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.004556, allocations: 7.938 kB / 243.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.004558, allocations: 0 / 243.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.449e-05/0.004632, allocations: 73.89 kB / 243.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.004633, allocations: 0 / 243.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.00466, allocations: 11.98 kB / 243.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.004682, allocations: 15.89 kB / 243.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.004682, allocations: 0 / 243.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-06/0.004686, allocations: 4 kB / 243.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.004687, allocations: 7.922 kB / 243.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.00469, allocations: 11.92 kB / 243.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.681e-05/0.004747, allocations: 132.4 kB / 243.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-06/0.004753, allocations: 240 / 243.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.087e-05/0.004784, allocations: 7.984 kB / 243.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.004811, allocations: 0 / 243.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.004814, allocations: 3.984 kB / 243.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.827e-05/0.004833, allocations: 32.77 kB / 243.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004833, allocations: 0 / 243.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001031/0.004936, allocations: 4 kB / 243.6 MB, free: 14.89 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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 5.072e-05/0.004986, allocations: 80.45 kB / 243.6 MB, free: 14.81 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.034e-05/0.005017, allocations: 16.86 kB / 243.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.00502, allocations: 3.984 kB / 243.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.005031, allocations: 8.797 kB / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.005156, allocations: 20.88 kB / 243.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.005427, allocations: 151.1 kB / 243.8 MB, free: 14.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.212e-05/0.005459, allocations: 59.34 kB / 243.9 MB, free: 14.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.431e-05/0.005473, allocations: 8.125 kB / 243.9 MB, free: 14.49 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.00551, allocations: 59.36 kB / 244 MB, free: 14.43 MB / 250.7 MB Notification: Performance of SimCode: time 3.6e-07/0.00551, allocations: 0 / 244 MB, free: 14.43 MB / 250.7 MB Notification: Performance of Templates: time 0.001715/0.007225, allocations: 0.5445 MB / 244.5 MB, free: 13.89 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.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.407705904915929]