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.001201/0.001201, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 56 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1156, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00381/0.1195, allocations: 1.891 MB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.1217, allocations: 1.294 MB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.1219, allocations: 7.938 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1222, allocations: 71.66 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.1226, allocations: 131.4 kB / 362.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007505/0.1234, allocations: 226.9 kB / 362.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.1237, allocations: 191.4 kB / 362.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1239, allocations: 33.53 kB / 362.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.124, allocations: 79.69 kB / 362.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.1242, allocations: 71.69 kB / 362.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.1242, allocations: 8 kB / 362.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.1244, allocations: 67.89 kB / 363 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1245, allocations: 55.77 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.1247, allocations: 75.48 kB / 363.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.125, allocations: 251.2 kB / 363.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.125, allocations: 3.984 kB / 363.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.125, allocations: 3.938 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.125, allocations: 0 / 363.3 MB, free: 8.867 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.000801/0.1259, allocations: 0.5311 MB / 363.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1259, allocations: 8.031 kB / 363.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.126, allocations: 24.66 kB / 363.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.1264, allocations: 295.6 kB / 364.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1265, allocations: 8.359 kB / 364.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1265, allocations: 20.06 kB / 364.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.1269, allocations: 147.6 kB / 364.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1269, allocations: 8 kB / 364.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.1269, allocations: 0 / 364.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1269, allocations: 0 / 364.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1271, allocations: 39.92 kB / 364.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.1277, allocations: 382.3 kB / 364.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.128, allocations: 119.9 kB / 364.9 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.373e-05/0.1282, allocations: 46.56 kB / 364.9 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.1282, allocations: 0 / 364.9 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.1284, allocations: 83.31 kB / 365 MB, free: 6.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1284, allocations: 0 / 365 MB, free: 6.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004281/0.1288, allocations: 149.3 kB / 365.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.129, allocations: 170.4 kB / 365.3 MB, free: 6.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.1293, allocations: 338.6 kB / 365.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.1294, allocations: 29.7 kB / 365.7 MB, free: 6.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1295, allocations: 132 kB / 365.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.1295, allocations: 15.81 kB / 365.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.1296, allocations: 29.7 kB / 365.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1297, allocations: 334.8 kB / 366.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.1298, allocations: 23.98 kB / 366.2 MB, free: 5.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.13, allocations: 86.84 kB / 366.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1301, allocations: 84.22 kB / 366.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1301, allocations: 0 / 366.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002262/0.1304, allocations: 129.5 kB / 366.5 MB, free: 5.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1304, allocations: 11.94 kB / 366.5 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1304, allocations: 8.047 kB / 366.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1304, allocations: 0 / 366.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1305, allocations: 16 kB / 366.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1306, allocations: 3.938 kB / 366.5 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.1306, allocations: 16.05 kB / 366.6 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1307, allocations: 4 kB / 366.6 MB, free: 5.277 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.0001427/0.1308, allocations: 157.7 kB / 366.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.1309, allocations: 69.34 kB / 366.8 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.407e-05/0.131, allocations: 29.7 kB / 366.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.131, allocations: 4 kB / 366.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.131, allocations: 0 / 366.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.131, allocations: 3.938 kB / 366.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1312, allocations: 249.6 kB / 367.1 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1312, allocations: 0 / 367.1 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.502e-05/0.1313, allocations: 12 kB / 367.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1313, allocations: 3.938 kB / 367.1 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1313, allocations: 4 kB / 367.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1313, allocations: 0 / 367.1 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1313, allocations: 3.984 kB / 367.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.1316, allocations: 170.4 kB / 367.3 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.1317, allocations: 108.9 kB / 367.4 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.1317, allocations: 4 kB / 367.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.1318, allocations: 7.984 kB / 367.4 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.1319, allocations: 7.938 kB / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.1319, allocations: 11.94 kB / 367.4 MB, free: 4.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.1321, allocations: 249.9 kB / 367.6 MB, free: 4.098 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1321, allocations: 0 / 367.6 MB, free: 4.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1324, allocations: 32 kB / 367.7 MB, free: 4.066 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.001006/0.1334, allocations: 422 kB / 368.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1337, allocations: 71.91 kB / 368.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1337, allocations: 0 / 368.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.1338, allocations: 31.92 kB / 368.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1342, allocations: 71.59 kB / 368.3 MB, free: 3.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.1348, allocations: 381 kB / 368.6 MB, free: 3.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1352, allocations: 0.7397 MB / 369.4 MB, free: 2.445 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.865e-05/0.1353, allocations: 33.53 kB / 369.4 MB, free: 2.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.1354, allocations: 27.42 kB / 369.4 MB, free: 2.387 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1354, allocations: 0 / 369.4 MB, free: 2.387 MB / 302.1 MB Notification: Performance of Templates: time 0.1849/0.3203, allocations: 2.823 MB / 372.2 MB, free: 16.88 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 -s cvode -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