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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 107.8 kB / 16.51 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009976/0.0009976, allocations: 42.92 kB / 299.9 MB, free: 6.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1204, allocations: 49.46 MB / 349.4 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.004199/0.1247, allocations: 1.557 MB / 351 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004922/0.1252, allocations: 143.5 kB / 351.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1253, allocations: 3.938 kB / 351.1 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.17e-05/0.1254, allocations: 4 kB / 351.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.1256, allocations: 7.938 kB / 351.1 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1259, allocations: 27.97 kB / 351.1 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.1261, allocations: 35.86 kB / 351.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1262, allocations: 15.97 kB / 351.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.1263, allocations: 15.94 kB / 351.2 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.1264, allocations: 19.86 kB / 351.2 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.1264, allocations: 0 / 351.2 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.1264, allocations: 4 kB / 351.2 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.1265, allocations: 15.92 kB / 351.2 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.1266, allocations: 31.73 kB / 351.3 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.1267, allocations: 35.83 kB / 351.3 MB, free: 2.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1267, allocations: 0 / 351.3 MB, free: 2.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1267, allocations: 0 / 351.3 MB, free: 2.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1267, allocations: 0 / 351.3 MB, free: 2.93 MB / 286.1 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.0007826/0.1275, allocations: 367.5 kB / 351.7 MB, free: 2.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.1276, allocations: 12.03 kB / 351.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.1276, allocations: 12.84 kB / 351.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.1279, allocations: 195.7 kB / 351.9 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1279, allocations: 4.375 kB / 351.9 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.128, allocations: 4.375 kB / 351.9 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.1283, allocations: 121.4 kB / 352 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1283, allocations: 4.188 kB / 352 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1284, allocations: 3.938 kB / 352 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1284, allocations: 0 / 352 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1285, allocations: 19.98 kB / 352 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.1289, allocations: 261.8 kB / 352.3 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1292, allocations: 138.2 kB / 352.4 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.795e-05/0.1293, allocations: 29.77 kB / 352.5 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.1294, allocations: 3.938 kB / 352.5 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1294, allocations: 34.56 kB / 352.5 MB, free: 1.535 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.1294, allocations: 4 kB / 352.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003715/0.1298, allocations: 77.52 kB / 352.6 MB, free: 1.449 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.1299, allocations: 81.11 kB / 352.7 MB, free: 1.352 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.1301, allocations: 138 kB / 352.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1301, allocations: 25.7 kB / 352.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.1302, allocations: 88.14 kB / 352.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.1302, allocations: 0 / 352.9 MB, free: 1.082 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.1303, allocations: 21.75 kB / 352.9 MB, free: 1.055 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1304, allocations: 326.8 kB / 353.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/0.1305, allocations: 4 kB / 353.2 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/0.1306, allocations: 35.42 kB / 353.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1307, allocations: 47.36 kB / 353.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1307, allocations: 0 / 353.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002018/0.131, allocations: 65.5 kB / 353.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.131, allocations: 11.98 kB / 353.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.131, allocations: 3.938 kB / 353.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.131, allocations: 0 / 353.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.1311, allocations: 12.12 kB / 353.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1312, allocations: 4 kB / 353.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.1312, allocations: 3.938 kB / 353.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1312, allocations: 4 kB / 353.4 MB, free: 0.5078 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001263/0.1314, allocations: 121.8 kB / 353.6 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.1315, allocations: 53.81 kB / 353.6 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.1316, allocations: 12.25 kB / 353.6 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1316, allocations: 4.031 kB / 353.6 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1316, allocations: 4 kB / 353.6 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1316, allocations: 0 / 353.6 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.1319, allocations: 173.6 kB / 353.8 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1319, allocations: 0 / 353.8 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.132, allocations: 11.98 kB / 353.8 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.132, allocations: 0 / 353.8 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.132, allocations: 0 / 353.8 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.132, allocations: 4 kB / 353.8 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.132, allocations: 0 / 353.8 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.1323, allocations: 176.2 kB / 354 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.1324, allocations: 93 kB / 354.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1324, allocations: 0 / 354.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1325, allocations: 7.938 kB / 354.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1326, allocations: 0 / 354.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1326, allocations: 4 kB / 354.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.927e-05/0.1327, allocations: 103.2 kB / 354.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1327, allocations: 4 kB / 354.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004089/0.1331, allocations: 8 kB / 354.2 MB, free: 15.63 MB / 302.1 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 0.000127/0.1333, allocations: 103.2 kB / 354.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.1335, allocations: 27.92 kB / 354.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1335, allocations: 0 / 354.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.1336, allocations: 7.984 kB / 354.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.1341, allocations: 24.28 kB / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.1345, allocations: 168.1 kB / 354.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1349, allocations: 0.6915 MB / 355.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.541e-05/0.135, allocations: 4 kB / 355.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.135, allocations: 11.44 kB / 355.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of SimCode: time 6.02e-07/0.135, allocations: 0 / 355.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Templates: time 0.003409/0.1384, allocations: 456.5 kB / 355.7 MB, free: 14.09 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches