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.0007673/0.0007674, allocations: 90.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000885/0.000885, allocations: 203.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.126/1.126, allocations: 227.7 MB / 246.8 MB, free: 9.594 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001861/0.0001861, allocations: 12.27 kB / 307.7 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07301/0.07321, allocations: 51.52 MB / 359.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.001796/0.07503, allocations: 1.595 MB / 360.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.07663, allocations: 1.259 MB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.07671, allocations: 4 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.07694, allocations: 59.8 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.07718, allocations: 111.6 kB / 362.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.07765, allocations: 202.9 kB / 362.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.07783, allocations: 167.5 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.343e-05/0.07793, allocations: 37.47 kB / 362.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.07802, allocations: 63.64 kB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.07811, allocations: 79.67 kB / 362.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.07813, allocations: 0 / 362.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.07824, allocations: 55.91 kB / 362.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.07832, allocations: 55.77 kB / 362.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.0784, allocations: 93.19 kB / 363 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.07863, allocations: 227.5 kB / 363.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.07864, allocations: 0 / 363.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.07864, allocations: 0 / 363.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.07865, allocations: 0 / 363.2 MB, free: 9.066 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.0005198/0.07917, allocations: 0.5001 MB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.568e-05/0.07921, allocations: 8.031 kB / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.07926, allocations: 28.64 kB / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.07953, allocations: 287.6 kB / 364 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.07956, allocations: 12.36 kB / 364.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.07958, allocations: 12.12 kB / 364.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.07985, allocations: 159.4 kB / 364.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.07987, allocations: 4 kB / 364.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.07988, allocations: 0 / 364.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.07989, allocations: 4 kB / 364.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.55e-05/0.07999, allocations: 31.98 kB / 364.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.08041, allocations: 390.4 kB / 364.6 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.08062, allocations: 119.9 kB / 364.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/0.08071, allocations: 42.56 kB / 364.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.08074, allocations: 4 kB / 364.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.0809, allocations: 83.31 kB / 364.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.08091, allocations: 0 / 364.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000311/0.08122, allocations: 149.3 kB / 365 MB, free: 7.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.0813, allocations: 166.5 kB / 365.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.0816, allocations: 334.6 kB / 365.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.08163, allocations: 37.64 kB / 365.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.08171, allocations: 124 kB / 365.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.08173, allocations: 19.8 kB / 365.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.08176, allocations: 17.72 kB / 365.7 MB, free: 6.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.08186, allocations: 334.8 kB / 366 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.08193, allocations: 27.92 kB / 366.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/0.08203, allocations: 90.84 kB / 366.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.08217, allocations: 84.22 kB / 366.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.08218, allocations: 0 / 366.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002032/0.08238, allocations: 129.6 kB / 366.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.0824, allocations: 4 kB / 366.4 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.08241, allocations: 3.938 kB / 366.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.08242, allocations: 4 kB / 366.4 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.08252, allocations: 19.98 kB / 366.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.08253, allocations: 0 / 366.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.0826, allocations: 15.97 kB / 366.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.08262, allocations: 4 kB / 366.4 MB, free: 5.523 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.0001155/0.08274, allocations: 169.6 kB / 366.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.08281, allocations: 69.34 kB / 366.7 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.08286, allocations: 29.7 kB / 366.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.08287, allocations: 0 / 366.7 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.08288, allocations: 7.984 kB / 366.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.08289, allocations: 3.938 kB / 366.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.08306, allocations: 237.6 kB / 366.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.08307, allocations: 0 / 366.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.08313, allocations: 11.98 kB / 366.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.08314, allocations: 4 kB / 366.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.08315, allocations: 0 / 366.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.08316, allocations: 4 kB / 366.9 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.08317, allocations: 0 / 366.9 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.08339, allocations: 174.4 kB / 367.1 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.08348, allocations: 116.8 kB / 367.2 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.08351, allocations: 0 / 367.2 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.037e-05/0.08357, allocations: 4 kB / 367.2 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.08362, allocations: 11.98 kB / 367.2 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.08364, allocations: 11.92 kB / 367.3 MB, free: 4.578 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.08385, allocations: 245.9 kB / 367.5 MB, free: 4.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08385, allocations: 3.938 kB / 367.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.08408, allocations: 32 kB / 367.5 MB, free: 4.305 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.00081/0.0849, allocations: 433 kB / 368 MB, free: 4.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.08508, allocations: 67.91 kB / 368 MB, free: 3.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.0851, allocations: 4 kB / 368 MB, free: 3.941 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.904e-05/0.08517, allocations: 27.98 kB / 368.1 MB, free: 3.914 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.08553, allocations: 72.38 kB / 368.1 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.08602, allocations: 416.4 kB / 368.5 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.0863, allocations: 0.7439 MB / 369.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.041e-05/0.08637, allocations: 29.8 kB / 369.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.08642, allocations: 23.42 kB / 369.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.08643, allocations: 4 kB / 369.3 MB, free: 2.578 MB / 302.1 MB Notification: Performance of Templates: time 0.124/0.2104, allocations: 2.67 MB / 372 MB, free: 19.36 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