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.001131/0.001131, allocations: 92.53 kB / 16.3 MB, free: 5.523 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.001304/0.001304, allocations: 184.9 kB / 17.2 MB, free: 5.457 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.525/1.525, allocations: 223.2 MB / 241.1 MB, free: 14.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 12 kB / 300.7 MB, free: 6.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 50.4 MB / 351.1 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001914/0.1293, allocations: 1.209 MB / 352.4 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003923/0.1297, allocations: 140.3 kB / 352.5 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1299, allocations: 4 kB / 352.5 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.643e-05/0.1299, allocations: 3.938 kB / 352.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.13, allocations: 4 kB / 352.5 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.1303, allocations: 39.78 kB / 352.5 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.1305, allocations: 23.97 kB / 352.6 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1306, allocations: 11.98 kB / 352.6 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.1306, allocations: 11.92 kB / 352.6 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.1307, allocations: 11.94 kB / 352.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.1307, allocations: 0 / 352.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.1307, allocations: 4 kB / 352.6 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.1308, allocations: 11.92 kB / 352.6 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.1308, allocations: 33.64 kB / 352.6 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.259e-05/0.1309, allocations: 27.95 kB / 352.7 MB, free: 2.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1309, allocations: 0 / 352.7 MB, free: 2.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1309, allocations: 0 / 352.7 MB, free: 2.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1309, allocations: 4 kB / 352.7 MB, free: 2.246 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.0004868/0.1314, allocations: 359.4 kB / 353 MB, free: 1.848 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.1315, allocations: 12.02 kB / 353 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.1315, allocations: 7.906 kB / 353 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1317, allocations: 190.9 kB / 353.2 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1318, allocations: 7.938 kB / 353.2 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.1318, allocations: 4 kB / 353.2 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.1321, allocations: 120.9 kB / 353.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1321, allocations: 0 / 353.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1321, allocations: 0 / 353.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1321, allocations: 3.953 kB / 353.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.1322, allocations: 27.98 kB / 353.4 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.1326, allocations: 265.7 kB / 353.7 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1328, allocations: 134.3 kB / 353.8 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1328, allocations: 8.062 kB / 353.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.1329, allocations: 34.5 kB / 353.8 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.1329, allocations: 0 / 353.8 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002718/0.1332, allocations: 81.66 kB / 353.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.1332, allocations: 85.22 kB / 354 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1334, allocations: 138 kB / 354.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1334, allocations: 25.7 kB / 354.2 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.1334, allocations: 84.14 kB / 354.2 MB, free: 448 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.1335, allocations: 4 kB / 354.2 MB, free: 444 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.1335, allocations: 0 / 354.2 MB, free: 444 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1336, allocations: 318.8 kB / 354.5 MB, free: 116 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/0.1336, allocations: 12 kB / 354.6 MB, free: 104 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/0.1337, allocations: 39.59 kB / 354.6 MB, free: 52 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.1337, allocations: 11.98 kB / 354.6 MB, free: 40 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1337, allocations: 0 / 354.6 MB, free: 40 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001521/0.1339, allocations: 77.56 kB / 354.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1339, allocations: 4 kB / 354.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1339, allocations: 3.953 kB / 354.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.134, allocations: 4 kB / 354.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/0.134, allocations: 11.98 kB / 354.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.134, allocations: 0 / 354.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.1341, allocations: 15.97 kB / 354.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1341, allocations: 4 kB / 354.7 MB, free: 15.91 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.102e-05/0.1342, allocations: 117.8 kB / 354.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.1343, allocations: 45.69 kB / 354.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.1343, allocations: 12.19 kB / 354.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1343, allocations: 11.94 kB / 354.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1343, allocations: 0 / 354.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1343, allocations: 0 / 354.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.1345, allocations: 169.6 kB / 355.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.1345, allocations: 8 kB / 355.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.1346, allocations: 8 kB / 355.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1346, allocations: 3.938 kB / 355.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-06/0.1346, allocations: 0 / 355.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1346, allocations: 0 / 355.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1346, allocations: 3.953 kB / 355.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.1348, allocations: 182 kB / 355.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.1349, allocations: 93 kB / 355.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1349, allocations: 0 / 355.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.165e-05/0.1349, allocations: 7.953 kB / 355.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.135, allocations: 7.984 kB / 355.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.135, allocations: 4 kB / 355.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.454e-05/0.1351, allocations: 102.6 kB / 355.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1351, allocations: 4 kB / 355.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1353, allocations: 4 kB / 355.5 MB, free: 15.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001058/0.1354, allocations: 103.2 kB / 355.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1356, allocations: 35.91 kB / 355.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1356, allocations: 256 / 355.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.1356, allocations: 12 kB / 355.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.1359, allocations: 22.7 kB / 355.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.1363, allocations: 161.7 kB / 355.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1365, allocations: 0.7004 MB / 356.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.513e-05/0.1366, allocations: 4 kB / 356.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.1366, allocations: 7.438 kB / 356.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1366, allocations: 0 / 356.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of Templates: time 0.002421/0.139, allocations: 430.7 kB / 357 MB, free: 13.51 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches