Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002096/0.002096, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 65.3 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1264, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.004117/0.1306, allocations: 1.865 MB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.1331, allocations: 1.282 MB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.1333, allocations: 7.938 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.1337, allocations: 67.61 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.1342, allocations: 135.4 kB / 362.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.135, allocations: 222.9 kB / 362.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.1354, allocations: 175.5 kB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1355, allocations: 37.52 kB / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1357, allocations: 71.7 kB / 362.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.1358, allocations: 79.62 kB / 362.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.1359, allocations: 8 kB / 362.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.1361, allocations: 75.88 kB / 362.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.995e-05/0.1362, allocations: 47.84 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.87e-05/0.1363, allocations: 83.47 kB / 363.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.1367, allocations: 243.2 kB / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1367, allocations: 0 / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1367, allocations: 0 / 363.3 MB, free: 8.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1367, allocations: 0 / 363.3 MB, free: 8.941 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.0008361/0.1376, allocations: 0.5428 MB / 363.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1376, allocations: 8.031 kB / 363.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/0.1377, allocations: 24.66 kB / 363.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.1382, allocations: 291.5 kB / 364.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.1382, allocations: 8.375 kB / 364.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1383, allocations: 8.125 kB / 364.2 MB, free: 7.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.1386, allocations: 159.6 kB / 364.3 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1386, allocations: 0 / 364.3 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1386, allocations: 3.938 kB / 364.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1387, allocations: 7.984 kB / 364.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.1388, allocations: 35.92 kB / 364.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.1394, allocations: 386.4 kB / 364.7 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1396, allocations: 119.9 kB / 364.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.031e-05/0.1397, allocations: 46.5 kB / 364.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1398, allocations: 0 / 364.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.1399, allocations: 83.36 kB / 365 MB, free: 7.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.14, allocations: 4 kB / 365 MB, free: 7.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000389/0.1404, allocations: 153.2 kB / 365.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/0.1405, allocations: 158.2 kB / 365.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.1408, allocations: 338.6 kB / 365.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1409, allocations: 33.7 kB / 365.7 MB, free: 6.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.1409, allocations: 120.1 kB / 365.8 MB, free: 6.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.141, allocations: 24.11 kB / 365.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.141, allocations: 33.72 kB / 365.8 MB, free: 6.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1412, allocations: 338.7 kB / 366.2 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.1413, allocations: 23.98 kB / 366.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.1414, allocations: 90.78 kB / 366.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.1416, allocations: 88.16 kB / 366.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1416, allocations: 256 / 366.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002328/0.1418, allocations: 129.3 kB / 366.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1418, allocations: 8.125 kB / 366.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1419, allocations: 0 / 366.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1419, allocations: 4 kB / 366.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.142, allocations: 23.86 kB / 366.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.142, allocations: 7.984 kB / 366.5 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.471e-05/0.1421, allocations: 7.938 kB / 366.5 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1421, allocations: 7.984 kB / 366.5 MB, free: 5.328 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,subSample1.y,subSample1.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.0001588/0.1423, allocations: 159.3 kB / 366.7 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.1424, allocations: 73.34 kB / 366.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.1425, allocations: 29.7 kB / 366.8 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1425, allocations: 0 / 366.8 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1425, allocations: 0 / 366.8 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1425, allocations: 3.938 kB / 366.8 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.1427, allocations: 241.5 kB / 367 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1428, allocations: 0 / 367 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.423e-05/0.1428, allocations: 11.98 kB / 367.1 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1428, allocations: 0 / 367.1 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1429, allocations: 8 kB / 367.1 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1429, allocations: 8 kB / 367.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1429, allocations: 4 kB / 367.1 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.1431, allocations: 162.4 kB / 367.2 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1433, allocations: 108.9 kB / 367.3 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.1433, allocations: 8 kB / 367.3 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.1434, allocations: 8 kB / 367.4 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.1435, allocations: 7.984 kB / 367.4 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.1435, allocations: 12 kB / 367.4 MB, free: 4.395 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.1438, allocations: 245.9 kB / 367.6 MB, free: 4.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1438, allocations: 0 / 367.6 MB, free: 4.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1441, allocations: 32 kB / 367.6 MB, free: 4.125 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,subSample1.y,sample1.y,subSample1.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.0012/0.1453, allocations: 428 kB / 368.1 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.1456, allocations: 79.84 kB / 368.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1456, allocations: 0 / 368.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.1457, allocations: 27.98 kB / 368.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.1461, allocations: 65.78 kB / 368.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.1469, allocations: 372.5 kB / 368.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.1473, allocations: 0.7436 MB / 369.3 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.1475, allocations: 29.53 kB / 369.4 MB, free: 2.477 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.1475, allocations: 27.42 kB / 369.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1475, allocations: 0 / 369.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of Templates: time 0.2213/0.3689, allocations: 2.817 MB / 372.2 MB, free: 19.77 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches