Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 108.8 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 209.8 kB / 18.27 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.4 MB, free: 9.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 61.83 kB / 306.4 MB, free: 0.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1541, allocations: 50.53 MB / 357 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003961/0.1581, allocations: 1.754 MB / 358.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004764/0.1586, allocations: 163.5 kB / 358.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1587, allocations: 3.938 kB / 358.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.132e-05/0.1588, allocations: 3.938 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.159, allocations: 11.92 kB / 358.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.1593, allocations: 39.91 kB / 359 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.1594, allocations: 51.89 kB / 359 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1596, allocations: 35.97 kB / 359 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.1596, allocations: 19.88 kB / 359.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.1597, allocations: 31.8 kB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.1598, allocations: 4 kB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.1598, allocations: 4 kB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.1598, allocations: 23.92 kB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.1599, allocations: 39.72 kB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1601, allocations: 67.72 kB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1601, allocations: 0 / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1601, allocations: 0 / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1601, allocations: 0 / 359.2 MB, free: 11.91 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006082/0.1607, allocations: 387.3 kB / 359.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.1608, allocations: 8.031 kB / 359.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.1608, allocations: 12.83 kB / 359.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.1612, allocations: 196.1 kB / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1612, allocations: 8.312 kB / 359.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1612, allocations: 8.375 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.1617, allocations: 158.4 kB / 360 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1618, allocations: 4.188 kB / 360 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.1618, allocations: 3.938 kB / 360 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1618, allocations: 4 kB / 360 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1619, allocations: 39.91 kB / 360 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.1626, allocations: 369.8 kB / 360.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.1629, allocations: 115.8 kB / 360.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.163, allocations: 58.77 kB / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.1631, allocations: 7.984 kB / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.1631, allocations: 34.56 kB / 360.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.1631, allocations: 0 / 360.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004244/0.1635, allocations: 125.4 kB / 360.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.1636, allocations: 111.1 kB / 360.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1638, allocations: 140.5 kB / 361 MB, free: 9.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.1638, allocations: 25.7 kB / 361 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.1639, allocations: 92.14 kB / 361.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.1639, allocations: 11.89 kB / 361.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.164, allocations: 25.72 kB / 361.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1641, allocations: 314.8 kB / 361.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.1642, allocations: 15.98 kB / 361.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.872e-05/0.1643, allocations: 79.59 kB / 361.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1644, allocations: 95.53 kB / 361.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1644, allocations: 0 / 361.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.1646, allocations: 109.4 kB / 361.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1647, allocations: 4 kB / 361.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1647, allocations: 8 kB / 361.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1647, allocations: 4 kB / 361.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.1648, allocations: 19.98 kB / 361.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.1648, allocations: 3.938 kB / 361.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.72e-05/0.1649, allocations: 16.25 kB / 361.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1649, allocations: 8 kB / 361.8 MB, free: 9.004 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 9.106e-05/0.165, allocations: 129.7 kB / 361.9 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.1651, allocations: 85.48 kB / 362 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.1652, allocations: 12.72 kB / 362 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.1652, allocations: 0 / 362 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.1652, allocations: 7.875 kB / 362 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1652, allocations: 7.984 kB / 362 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.1655, allocations: 181.6 kB / 362.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1655, allocations: 0 / 362.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.1655, allocations: 23.98 kB / 362.2 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1656, allocations: 0 / 362.2 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1656, allocations: 4 kB / 362.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1656, allocations: 0 / 362.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1656, allocations: 0 / 362.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.166, allocations: 316.2 kB / 362.5 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.166, allocations: 96.98 kB / 362.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1661, allocations: 7.938 kB / 362.6 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.1662, allocations: 0 / 362.6 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.1662, allocations: 4 kB / 362.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1662, allocations: 8 kB / 362.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.356e-05/0.1663, allocations: 107.2 kB / 362.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1663, allocations: 288 / 362.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1666, allocations: 12 kB / 362.8 MB, free: 7.914 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001091/0.1667, allocations: 103.2 kB / 362.9 MB, free: 7.801 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.1669, allocations: 63.78 kB / 362.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1669, allocations: 0 / 362.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.167, allocations: 20.55 kB / 363 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.1674, allocations: 36.08 kB / 363 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.1679, allocations: 231.6 kB / 363.2 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1682, allocations: 0.7041 MB / 363.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.941e-05/0.1682, allocations: 4.672 kB / 363.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.1683, allocations: 11.44 kB / 363.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1683, allocations: 0 / 363.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of Templates: time 0.002997/0.1713, allocations: 0.6805 MB / 364.6 MB, free: 6.008 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches