Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 107.5 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.001331, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.38 kB / 306.4 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1291, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003844/0.133, allocations: 1.953 MB / 358.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.1352, allocations: 1.27 MB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.1354, allocations: 7.938 kB / 360.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.1358, allocations: 55.8 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.1362, allocations: 115.6 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.1368, allocations: 207.2 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.1371, allocations: 183.5 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1372, allocations: 33.53 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1373, allocations: 79.7 kB / 360.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1375, allocations: 83.61 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1375, allocations: 12 kB / 361 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1376, allocations: 59.95 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.1377, allocations: 51.78 kB / 361.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.923e-05/0.1378, allocations: 83.41 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.1381, allocations: 235.5 kB / 361.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1381, allocations: 7.984 kB / 361.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1381, allocations: 0 / 361.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1382, allocations: 0 / 361.4 MB, free: 9.973 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.0007133/0.1389, allocations: 0.5389 MB / 361.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1389, allocations: 11.97 kB / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.139, allocations: 24.66 kB / 362 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1394, allocations: 283.6 kB / 362.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1394, allocations: 8.375 kB / 362.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1394, allocations: 8.125 kB / 362.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.1398, allocations: 155.6 kB / 362.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1398, allocations: 0 / 362.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.1398, allocations: 4 kB / 362.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1398, allocations: 4 kB / 362.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1399, allocations: 39.89 kB / 362.5 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.1405, allocations: 390.4 kB / 362.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.1408, allocations: 123.8 kB / 363 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-05/0.1409, allocations: 42.56 kB / 363 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1409, allocations: 7.984 kB / 363 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.1411, allocations: 71.39 kB / 363.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/0.1412, allocations: 4 kB / 363.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004055/0.1416, allocations: 161.2 kB / 363.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.1417, allocations: 154.2 kB / 363.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.142, allocations: 342.6 kB / 363.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.142, allocations: 29.7 kB / 363.7 MB, free: 7.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.1421, allocations: 124.1 kB / 363.9 MB, free: 7.199 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.1422, allocations: 16.06 kB / 363.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.1422, allocations: 33.7 kB / 363.9 MB, free: 7.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1424, allocations: 342.7 kB / 364.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.715e-05/0.1424, allocations: 19.98 kB / 364.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1425, allocations: 90.73 kB / 364.4 MB, free: 6.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1427, allocations: 92.45 kB / 364.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1427, allocations: 0 / 364.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002162/0.1429, allocations: 125.3 kB / 364.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.143, allocations: 8.125 kB / 364.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.143, allocations: 0 / 364.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.143, allocations: 4 kB / 364.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1431, allocations: 19.92 kB / 364.6 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1431, allocations: 4 kB / 364.6 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.1432, allocations: 7.938 kB / 364.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1432, allocations: 8 kB / 364.6 MB, free: 6.383 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.0001393/0.1434, allocations: 161.7 kB / 364.8 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.1435, allocations: 69.36 kB / 364.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.1435, allocations: 25.7 kB / 364.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1435, allocations: 4 kB / 364.9 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1435, allocations: 0 / 364.9 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1436, allocations: 11.86 kB / 364.9 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.1438, allocations: 245.5 kB / 365.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1438, allocations: 0 / 365.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.725e-05/0.1439, allocations: 11.98 kB / 365.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1439, allocations: 3.938 kB / 365.1 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1439, allocations: 8 kB / 365.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1439, allocations: 4.062 kB / 365.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1439, allocations: 0 / 365.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1441, allocations: 166.4 kB / 365.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.1443, allocations: 108.9 kB / 365.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.1443, allocations: 8 kB / 365.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.1444, allocations: 8.062 kB / 365.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.1444, allocations: 19.92 kB / 365.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.1444, allocations: 7.938 kB / 365.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.1447, allocations: 245.9 kB / 365.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1447, allocations: 0 / 365.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.145, allocations: 36 kB / 365.7 MB, free: 5.156 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.001032/0.146, allocations: 415.7 kB / 366.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.1463, allocations: 79.84 kB / 366.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1463, allocations: 0 / 366.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/0.1464, allocations: 28.11 kB / 366.3 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.1468, allocations: 73.91 kB / 366.3 MB, free: 4.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.1474, allocations: 429.4 kB / 366.7 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1478, allocations: 0.7397 MB / 367.5 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.321e-05/0.1479, allocations: 25.53 kB / 367.5 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.1479, allocations: 23.44 kB / 367.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1479, allocations: 0 / 367.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of Templates: time 0.006434/0.1544, allocations: 2.787 MB / 370.3 MB, free: 0.6719 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches