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.001311/0.001311, allocations: 103 kB / 17.32 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.002041/0.002041, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 62.8 kB / 306.4 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1451, allocations: 50.52 MB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003508/0.1487, allocations: 1.651 MB / 358.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1498, allocations: 0.5572 MB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1499, allocations: 0 / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.733e-05/0.15, allocations: 7.875 kB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1502, allocations: 7.938 kB / 359.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.1506, allocations: 63.8 kB / 359.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1508, allocations: 43.86 kB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1509, allocations: 20.17 kB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.151, allocations: 39.78 kB / 359.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.1511, allocations: 19.92 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1511, allocations: 0 / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.533e-05/0.1512, allocations: 8 kB / 359.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.1512, allocations: 15.92 kB / 359.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.1513, allocations: 31.73 kB / 359.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1514, allocations: 55.8 kB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1515, allocations: 4 kB / 359.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1515, allocations: 0 / 359.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1515, allocations: 0 / 359.5 MB, free: 11.67 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.0005865/0.1521, allocations: 383.3 kB / 359.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1521, allocations: 11.97 kB / 359.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.1523, allocations: 20.84 kB / 359.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1526, allocations: 204 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1526, allocations: 4.375 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.1526, allocations: 7.938 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.153, allocations: 121.9 kB / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1531, allocations: 0 / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1531, allocations: 0 / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.1531, allocations: 0 / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.789e-05/0.1532, allocations: 27.92 kB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.1536, allocations: 274.5 kB / 360.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1538, allocations: 71.78 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/0.1538, allocations: 30.62 kB / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1539, allocations: 0 / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1539, allocations: 42.5 kB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.1539, allocations: 0 / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003135/0.1542, allocations: 85.52 kB / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.1543, allocations: 102.8 kB / 360.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1545, allocations: 153.7 kB / 361 MB, free: 9.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1545, allocations: 25.7 kB / 361 MB, free: 9.887 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.1546, allocations: 92.05 kB / 361.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.1546, allocations: 4.375 kB / 361.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.1546, allocations: 21.7 kB / 361.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1548, allocations: 318.8 kB / 361.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/0.1548, allocations: 7.984 kB / 361.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.318e-05/0.1549, allocations: 39.36 kB / 361.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.155, allocations: 47.36 kB / 361.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.155, allocations: 0 / 361.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001419/0.1552, allocations: 69.53 kB / 361.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.1552, allocations: 8 kB / 361.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1552, allocations: 4.062 kB / 361.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1552, allocations: 4.094 kB / 361.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1553, allocations: 11.98 kB / 361.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1554, allocations: 4 kB / 361.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.1554, allocations: 7.922 kB / 361.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1554, allocations: 8 kB / 361.7 MB, free: 9.203 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.1556, allocations: 125.7 kB / 361.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.858e-05/0.1557, allocations: 49.61 kB / 361.8 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.1557, allocations: 15.92 kB / 361.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.1557, allocations: 4 kB / 361.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1557, allocations: 0 / 361.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1557, allocations: 3.938 kB / 361.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.1559, allocations: 169.7 kB / 362 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1559, allocations: 0 / 362 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.156, allocations: 19.86 kB / 362 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.156, allocations: 0 / 362 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.156, allocations: 4 kB / 362 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1561, allocations: 0 / 362 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1561, allocations: 0 / 362 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.1563, allocations: 181.1 kB / 362.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.1564, allocations: 97 kB / 362.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1564, allocations: 3.984 kB / 362.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.1565, allocations: 4 kB / 362.3 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.1565, allocations: 11.88 kB / 362.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1565, allocations: 0 / 362.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.456e-05/0.1566, allocations: 114.1 kB / 362.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1566, allocations: 0 / 362.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1569, allocations: 8 kB / 362.5 MB, free: 8.301 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 (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.0001125/0.157, allocations: 95.25 kB / 362.5 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1571, allocations: 40.09 kB / 362.6 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1572, allocations: 4.062 kB / 362.6 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.1572, allocations: 12 kB / 362.6 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1577, allocations: 20.02 kB / 362.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.1581, allocations: 212.3 kB / 362.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1583, allocations: 0.6885 MB / 363.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.052e-05/0.1584, allocations: 7.984 kB / 363.5 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.1584, allocations: 15.38 kB / 363.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1584, allocations: 0 / 363.5 MB, free: 7.148 MB / 302.1 MB Notification: Performance of Templates: time 0.003323/0.1617, allocations: 0.5788 MB / 364.1 MB, free: 6.582 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches