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.00135/0.00135, allocations: 94.2 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 206 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.7 MB / 247.5 MB, free: 9.496 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000242/0.0002421, allocations: 8.281 kB / 308.4 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1228, allocations: 51.52 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002757/0.1256, allocations: 1.595 MB / 361.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.128, allocations: 1.251 MB / 362.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1282, allocations: 4 kB / 362.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.1286, allocations: 67.73 kB / 362.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.129, allocations: 111.6 kB / 362.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.1298, allocations: 203.2 kB / 363.1 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.1301, allocations: 163.5 kB / 363.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1303, allocations: 33.53 kB / 363.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1304, allocations: 63.64 kB / 363.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1305, allocations: 71.69 kB / 363.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1306, allocations: 4 kB / 363.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.1308, allocations: 63.83 kB / 363.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.884e-05/0.1309, allocations: 47.78 kB / 363.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.131, allocations: 97.17 kB / 363.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1313, allocations: 171.9 kB / 363.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1313, allocations: 0 / 363.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1313, allocations: 4 kB / 363.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1313, allocations: 0 / 363.8 MB, free: 9.109 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.000869/0.1322, allocations: 0.504 MB / 364.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.1322, allocations: 8.031 kB / 364.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/0.1323, allocations: 28.64 kB / 364.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.1328, allocations: 279.6 kB / 364.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.1328, allocations: 12.36 kB / 364.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1328, allocations: 12.12 kB / 364.7 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.1332, allocations: 167.4 kB / 364.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1333, allocations: 3.984 kB / 364.8 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1333, allocations: 3.938 kB / 364.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1333, allocations: 4 kB / 364.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1334, allocations: 31.98 kB / 364.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.1341, allocations: 386.4 kB / 365.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.1343, allocations: 119.9 kB / 365.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.343e-05/0.1344, allocations: 46.56 kB / 365.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.1345, allocations: 0 / 365.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.1347, allocations: 87.31 kB / 365.5 MB, free: 7.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.1347, allocations: 0 / 365.5 MB, free: 7.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004056/0.1351, allocations: 149.3 kB / 365.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/0.1352, allocations: 162.1 kB / 365.8 MB, free: 6.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.1356, allocations: 338.6 kB / 366.1 MB, free: 6.527 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1356, allocations: 33.95 kB / 366.2 MB, free: 6.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.1357, allocations: 128 kB / 366.3 MB, free: 6.359 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1358, allocations: 19.8 kB / 366.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1358, allocations: 17.72 kB / 366.3 MB, free: 6.316 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.136, allocations: 334.8 kB / 366.7 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.1361, allocations: 23.98 kB / 366.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.1362, allocations: 90.84 kB / 366.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.1364, allocations: 80.22 kB / 366.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1364, allocations: 0 / 366.9 MB, free: 5.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002327/0.1366, allocations: 125.4 kB / 367 MB, free: 5.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1366, allocations: 4 kB / 367 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1367, allocations: 4 kB / 367 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1367, allocations: 0 / 367 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1368, allocations: 19.98 kB / 367 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1368, allocations: 4.25 kB / 367 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.533e-05/0.1369, allocations: 19.78 kB / 367 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1369, allocations: 11.94 kB / 367 MB, free: 5.559 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.0001631/0.1371, allocations: 169.8 kB / 367.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.331e-05/0.1372, allocations: 69.34 kB / 367.3 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.1373, allocations: 25.72 kB / 367.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1373, allocations: 0 / 367.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1373, allocations: 7.984 kB / 367.3 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1373, allocations: 3.938 kB / 367.3 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.1375, allocations: 233.6 kB / 367.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1375, allocations: 0 / 367.5 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.1376, allocations: 11.98 kB / 367.6 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1376, allocations: 8.062 kB / 367.6 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1376, allocations: 0 / 367.6 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1376, allocations: 4 kB / 367.6 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1377, allocations: 0 / 367.6 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.1379, allocations: 166.4 kB / 367.7 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1381, allocations: 120.8 kB / 367.8 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.1381, allocations: 4 kB / 367.8 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.1382, allocations: 4 kB / 367.9 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.1382, allocations: 7.984 kB / 367.9 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.1383, allocations: 15.92 kB / 367.9 MB, free: 4.617 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.1385, allocations: 245.9 kB / 368.1 MB, free: 4.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1385, allocations: 0 / 368.1 MB, free: 4.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1388, allocations: 28 kB / 368.1 MB, free: 4.352 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.001064/0.1399, allocations: 435.7 kB / 368.6 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1401, allocations: 71.84 kB / 368.6 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1402, allocations: 4 kB / 368.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.561e-05/0.1402, allocations: 27.98 kB / 368.7 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.1407, allocations: 61.89 kB / 368.7 MB, free: 3.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/0.1414, allocations: 454.4 kB / 369.2 MB, free: 3.406 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1417, allocations: 0.74 MB / 369.9 MB, free: 2.641 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.1418, allocations: 23.42 kB / 369.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1418, allocations: 0 / 369.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of Templates: time 0.1963/0.3381, allocations: 2.919 MB / 372.9 MB, free: 18.98 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/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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches