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.00113/0.00113, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.623/1.623, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.95 kB / 306.9 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1464, allocations: 50.53 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.004743/0.1512, allocations: 1.579 MB / 359.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1525, allocations: 0.5649 MB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1527, allocations: 7.875 kB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.678e-05/0.1528, allocations: 11.92 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.153, allocations: 7.875 kB / 359.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.1535, allocations: 71.8 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1537, allocations: 43.86 kB / 359.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1538, allocations: 24.16 kB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.154, allocations: 35.73 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1542, allocations: 15.92 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1542, allocations: 4 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.027e-05/0.1543, allocations: 8 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.818e-05/0.1544, allocations: 19.92 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.1544, allocations: 27.73 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1547, allocations: 55.81 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1547, allocations: 4 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1547, allocations: 0 / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1547, allocations: 0 / 359.9 MB, free: 11.64 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.0007701/0.1555, allocations: 391.2 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.1556, allocations: 8.031 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.1558, allocations: 20.83 kB / 360.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.156, allocations: 195.7 kB / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1561, allocations: 4.312 kB / 360.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1561, allocations: 15.94 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.1564, allocations: 105.9 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1565, allocations: 0 / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1565, allocations: 4 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1565, allocations: 0 / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.1566, allocations: 23.98 kB / 360.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.157, allocations: 278.5 kB / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1571, allocations: 75.78 kB / 361 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/0.1572, allocations: 34.62 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1572, allocations: 0 / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1573, allocations: 42.55 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1573, allocations: 0 / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002949/0.1576, allocations: 85.45 kB / 361.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/0.1577, allocations: 110.8 kB / 361.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1578, allocations: 149.7 kB / 361.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1578, allocations: 25.7 kB / 361.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.1579, allocations: 96.41 kB / 361.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.1579, allocations: 4 kB / 361.6 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.158, allocations: 17.72 kB / 361.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1581, allocations: 318.8 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.1582, allocations: 8 kB / 361.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.1582, allocations: 35.42 kB / 362 MB, free: 9.348 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1583, allocations: 47.36 kB / 362 MB, free: 9.289 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1584, allocations: 0 / 362 MB, free: 9.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001489/0.1585, allocations: 77.45 kB / 362.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1585, allocations: 10.91 kB / 362.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1586, allocations: 8.125 kB / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1586, allocations: 3.938 kB / 362.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.1587, allocations: 8 kB / 362.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1587, allocations: 0 / 362.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.1587, allocations: 11.92 kB / 362.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1588, allocations: 0 / 362.1 MB, free: 9.168 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.0001024/0.1589, allocations: 121.8 kB / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.159, allocations: 53.53 kB / 362.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.159, allocations: 15.94 kB / 362.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.159, allocations: 0 / 362.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.159, allocations: 4 kB / 362.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.159, allocations: 3.938 kB / 362.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.1592, allocations: 173.6 kB / 362.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1593, allocations: 4.094 kB / 362.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.1593, allocations: 8 kB / 362.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1593, allocations: 3.984 kB / 362.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1594, allocations: 3.984 kB / 362.5 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.1594, allocations: 7.938 kB / 362.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1594, allocations: 4 kB / 362.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.1596, allocations: 177.1 kB / 362.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.1597, allocations: 89 kB / 362.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.1597, allocations: 8 kB / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.737e-05/0.1598, allocations: 0 / 362.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1598, allocations: 11.94 kB / 362.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1598, allocations: 0 / 362.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.445e-05/0.1599, allocations: 114.8 kB / 362.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1599, allocations: 0 / 362.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1602, allocations: 4 kB / 362.9 MB, free: 8.27 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.0001185/0.1603, allocations: 107.2 kB / 363 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1605, allocations: 36.11 kB / 363 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1605, allocations: 0 / 363 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.1605, allocations: 4 kB / 363 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.161, allocations: 28.02 kB / 363.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.1614, allocations: 192.4 kB / 363.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1617, allocations: 0.6963 MB / 364 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.824e-05/0.1618, allocations: 3.938 kB / 364 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.1618, allocations: 11.44 kB / 364 MB, free: 7.133 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1618, allocations: 0 / 364 MB, free: 7.133 MB / 302.1 MB Notification: Performance of Templates: time 0.003142/0.1649, allocations: 0.5944 MB / 364.6 MB, free: 6.547 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