Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001423/0.001423, allocations: 117.1 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.565/1.565, allocations: 227.7 MB / 246.7 MB, free: 8.84 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 68.06 kB / 306.7 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1421, allocations: 50.55 MB / 357.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003369/0.1455, allocations: 1.608 MB / 358.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1465, allocations: 0.5338 MB / 359.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.1467, allocations: 3.938 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.019e-05/0.1467, allocations: 4 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1469, allocations: 7.922 kB / 359.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.1473, allocations: 55.89 kB / 359.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.1474, allocations: 51.8 kB / 359.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.1476, allocations: 12.17 kB / 359.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.1477, allocations: 31.84 kB / 359.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.671e-05/0.1478, allocations: 23.86 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1478, allocations: 4 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.1479, allocations: 8 kB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.148, allocations: 15.92 kB / 359.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.148, allocations: 27.8 kB / 359.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1482, allocations: 63.73 kB / 359.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1482, allocations: 0 / 359.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1482, allocations: 0 / 359.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.1483, allocations: 4 kB / 359.7 MB, free: 11.58 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.0006183/0.1489, allocations: 379.3 kB / 360.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.149, allocations: 12.03 kB / 360.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.1492, allocations: 12.84 kB / 360.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.1495, allocations: 192.2 kB / 360.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1496, allocations: 4.375 kB / 360.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1496, allocations: 12.36 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.15, allocations: 109.1 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.15, allocations: 0 / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.15, allocations: 0 / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.15, allocations: 4 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.886e-05/0.1501, allocations: 19.98 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.1505, allocations: 261.8 kB / 360.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.813e-05/0.1506, allocations: 49.14 kB / 360.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.1507, allocations: 21.72 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1507, allocations: 0 / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1507, allocations: 34.56 kB / 360.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1507, allocations: 3.938 kB / 360.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002703/0.151, allocations: 61.8 kB / 360.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.1511, allocations: 89.08 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1513, allocations: 144.4 kB / 361.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1513, allocations: 25.7 kB / 361.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.1514, allocations: 96.06 kB / 361.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.1514, allocations: 0 / 361.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.1515, allocations: 25.61 kB / 361.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1516, allocations: 318.7 kB / 361.6 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.1517, allocations: 15.98 kB / 361.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.1517, allocations: 17.72 kB / 361.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.835e-05/0.1518, allocations: 25.7 kB / 361.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1518, allocations: 4 kB / 361.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001207/0.152, allocations: 57.69 kB / 361.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.152, allocations: 7.984 kB / 361.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.152, allocations: 0 / 361.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.152, allocations: 0 / 361.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.1521, allocations: 8 kB / 361.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1521, allocations: 0 / 361.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.1522, allocations: 0 / 361.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1522, allocations: 4 kB / 361.7 MB, free: 9.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001223/0.1523, allocations: 129.8 kB / 361.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.1524, allocations: 37.61 kB / 361.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.1524, allocations: 15.81 kB / 361.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1524, allocations: 0 / 361.9 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1524, allocations: 4 kB / 361.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1525, allocations: 0 / 361.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.1527, allocations: 169.6 kB / 362.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1527, allocations: 4 kB / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.1528, allocations: 8 kB / 362.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1528, allocations: 0 / 362.1 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.1528, allocations: 4.031 kB / 362.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.1528, allocations: 3.984 kB / 362.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1528, allocations: 3.938 kB / 362.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.153, allocations: 164.2 kB / 362.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.033e-05/0.1531, allocations: 89 kB / 362.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.1531, allocations: 0 / 362.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.173e-05/0.1532, allocations: 8.031 kB / 362.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1532, allocations: 3.984 kB / 362.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.1532, allocations: 4 kB / 362.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1533, allocations: 107.3 kB / 362.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1533, allocations: 0 / 362.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.1536, allocations: 4 kB / 362.5 MB, free: 8.488 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001065/0.1537, allocations: 99.23 kB / 362.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.1538, allocations: 27.92 kB / 362.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1538, allocations: 4 kB / 362.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.1539, allocations: 4 kB / 362.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1542, allocations: 23.89 kB / 362.6 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.1546, allocations: 183.7 kB / 362.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.155, allocations: 0.6923 MB / 363.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.126e-05/0.155, allocations: 7.984 kB / 363.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.155, allocations: 7.438 kB / 363.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.155, allocations: 0 / 363.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of Templates: time 0.003313/0.1584, allocations: 0.5014 MB / 364 MB, free: 6.891 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches