Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 98.09 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001956, allocations: 204.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 4 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1526, allocations: 51.5 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002356/0.155, allocations: 1.281 MB / 359.4 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1561, allocations: 0.503 MB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1562, allocations: 3.938 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.62e-05/0.1562, allocations: 4 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1564, allocations: 19.91 kB / 359.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.1568, allocations: 43.84 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1569, allocations: 31.95 kB / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1571, allocations: 12.16 kB / 360 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1572, allocations: 31.78 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.1573, allocations: 15.94 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1573, allocations: 4 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.835e-05/0.1574, allocations: 7.984 kB / 360 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.1574, allocations: 7.938 kB / 360 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.1575, allocations: 37.64 kB / 360.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1576, allocations: 43.86 kB / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1576, allocations: 0 / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1576, allocations: 0 / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1576, allocations: 0 / 360.1 MB, free: 11.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005913/0.1582, allocations: 373.8 kB / 360.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1583, allocations: 12.03 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.1585, allocations: 15.91 kB / 360.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1587, allocations: 190.9 kB / 360.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1587, allocations: 3.953 kB / 360.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1588, allocations: 8 kB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.1591, allocations: 121.9 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1591, allocations: 0 / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1592, allocations: 0 / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1592, allocations: 0 / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.982e-05/0.1593, allocations: 31.92 kB / 360.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.1597, allocations: 286.5 kB / 361.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1598, allocations: 59.86 kB / 361.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.1599, allocations: 15.98 kB / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1599, allocations: 30.56 kB / 361.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1599, allocations: 0 / 361.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003198/0.1602, allocations: 93.86 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.1603, allocations: 110.8 kB / 361.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1605, allocations: 137.8 kB / 361.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1605, allocations: 29.7 kB / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.1606, allocations: 88.14 kB / 361.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.1606, allocations: 3.906 kB / 361.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.1606, allocations: 0 / 361.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1608, allocations: 330.8 kB / 362 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.1608, allocations: 4 kB / 362 MB, free: 9.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.855e-05/0.1609, allocations: 43.41 kB / 362.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.187e-05/0.161, allocations: 19.98 kB / 362.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.161, allocations: 0 / 362.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001443/0.1611, allocations: 73.47 kB / 362.2 MB, free: 9.539 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1611, allocations: 4 kB / 362.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1612, allocations: 4 kB / 362.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1612, allocations: 0 / 362.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.1613, allocations: 16.11 kB / 362.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1613, allocations: 0 / 362.2 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.1613, allocations: 4 kB / 362.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1613, allocations: 4 kB / 362.2 MB, free: 9.508 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.353e-05/0.1614, allocations: 128.3 kB / 362.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/0.1615, allocations: 57.48 kB / 362.4 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.1616, allocations: 15.81 kB / 362.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1616, allocations: 4 kB / 362.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1616, allocations: 4.062 kB / 362.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1616, allocations: 0 / 362.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.1618, allocations: 173.6 kB / 362.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1618, allocations: 0 / 362.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.1619, allocations: 15.98 kB / 362.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1619, allocations: 0 / 362.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1619, allocations: 4 kB / 362.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1619, allocations: 0 / 362.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.1619, allocations: 3.938 kB / 362.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1622, allocations: 204.5 kB / 362.8 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.1622, allocations: 93 kB / 362.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1623, allocations: 3.984 kB / 362.9 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.1623, allocations: 12 kB / 362.9 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.1624, allocations: 0 / 362.9 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1624, allocations: 8 kB / 362.9 MB, free: 8.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.985e-05/0.1625, allocations: 111.2 kB / 363 MB, free: 8.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1625, allocations: 0 / 363 MB, free: 8.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000223/0.1627, allocations: 4 kB / 363 MB, free: 8.562 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001437/0.1629, allocations: 95.25 kB / 363.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.163, allocations: 43.92 kB / 363.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.163, allocations: 0 / 363.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.512e-05/0.1631, allocations: 15.92 kB / 363.2 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1634, allocations: 20.02 kB / 363.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.1638, allocations: 207 kB / 363.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.1642, allocations: 0.7004 MB / 364.1 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.649e-05/0.1643, allocations: 11.94 kB / 364.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.1643, allocations: 7.438 kB / 364.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1643, allocations: 0 / 364.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of Templates: time 0.003026/0.1673, allocations: 0.5238 MB / 364.6 MB, free: 6.887 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches