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) 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 108.6 kB / 17.69 MB, free: 5.445 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.00146/0.00146, allocations: 191 kB / 18.63 MB, free: 4.512 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.454/1.454, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009941/0.0009944, allocations: 47.45 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1327, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004167/0.1369, allocations: 1.864 MB / 353.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1389, allocations: 1.153 MB / 354.5 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1391, allocations: 3.938 kB / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.1395, allocations: 67.67 kB / 354.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.1398, allocations: 79.66 kB / 354.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.1405, allocations: 277 kB / 354.9 MB, free: 256 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.1408, allocations: 167.5 kB / 355.1 MB, free: 88 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.141, allocations: 29.53 kB / 355.1 MB, free: 60 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1411, allocations: 71.7 kB / 355.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1412, allocations: 75.69 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.1413, allocations: 8 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.1415, allocations: 63.89 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1416, allocations: 59.83 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.569e-05/0.1417, allocations: 83.47 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.1421, allocations: 235.2 kB / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1421, allocations: 0 / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1421, allocations: 0 / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1422, allocations: 0 / 355.7 MB, free: 15.47 MB / 302.1 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.0008157/0.143, allocations: 0.5272 MB / 356.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.143, allocations: 15.89 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.1431, allocations: 20.66 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.1435, allocations: 287.6 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.1436, allocations: 8.375 kB / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1436, allocations: 8.125 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.1439, allocations: 163.6 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.144, allocations: 0 / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.144, allocations: 7.984 kB / 356.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.144, allocations: 3.984 kB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1441, allocations: 39.92 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.1447, allocations: 378.4 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.145, allocations: 119.8 kB / 357.3 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.682e-05/0.1451, allocations: 54.48 kB / 357.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.1451, allocations: 4 kB / 357.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.1453, allocations: 71.39 kB / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 3.717e-06/0.1453, allocations: 0 / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004113/0.1458, allocations: 161.2 kB / 357.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.1459, allocations: 162.5 kB / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.1462, allocations: 322.7 kB / 358 MB, free: 12.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1463, allocations: 29.7 kB / 358.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1464, allocations: 132 kB / 358.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1464, allocations: 15.81 kB / 358.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.1465, allocations: 29.7 kB / 358.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1466, allocations: 338.8 kB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.726e-05/0.1467, allocations: 20 kB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1468, allocations: 82.92 kB / 358.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.147, allocations: 88.47 kB / 358.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.147, allocations: 7.938 kB / 358.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002279/0.1473, allocations: 125.3 kB / 358.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1473, allocations: 8 kB / 358.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1473, allocations: 0 / 358.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1473, allocations: 0 / 358.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1474, allocations: 20.06 kB / 358.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1474, allocations: 7.984 kB / 358.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/0.1475, allocations: 7.938 kB / 358.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1475, allocations: 8 kB / 358.9 MB, free: 11.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001847/0.1477, allocations: 154.3 kB / 359.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.215e-05/0.1478, allocations: 69.34 kB / 359.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.1479, allocations: 29.7 kB / 359.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1479, allocations: 0 / 359.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.1479, allocations: 8.062 kB / 359.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1479, allocations: 7.875 kB / 359.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.1482, allocations: 237.6 kB / 359.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1482, allocations: 0 / 359.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.1482, allocations: 11.98 kB / 359.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1483, allocations: 4 kB / 359.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1483, allocations: 0 / 359.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1483, allocations: 3.938 kB / 359.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1483, allocations: 4 kB / 359.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.1486, allocations: 174.3 kB / 359.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1487, allocations: 112.8 kB / 359.7 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.1488, allocations: 8.062 kB / 359.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.1488, allocations: 8 kB / 359.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.1489, allocations: 7.984 kB / 359.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1489, allocations: 7.938 kB / 359.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002571/0.1492, allocations: 245.9 kB / 360 MB, free: 10.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1492, allocations: 0 / 360 MB, free: 10.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1495, allocations: 32 kB / 360 MB, free: 10.7 MB / 302.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001109/0.1506, allocations: 429.2 kB / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.1509, allocations: 67.91 kB / 360.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1509, allocations: 3.938 kB / 360.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.232e-05/0.151, allocations: 40.34 kB / 360.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.1514, allocations: 72.39 kB / 360.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.1521, allocations: 353.2 kB / 361 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1525, allocations: 0.7399 MB / 361.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.85e-05/0.1525, allocations: 25.53 kB / 361.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.1526, allocations: 27.42 kB / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1526, allocations: 0 / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of Templates: time 0.006785/0.1594, allocations: 2.795 MB / 364.6 MB, free: 6.285 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches