Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 58.5 kB / 306.9 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1428, allocations: 50.54 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.004157/0.147, allocations: 1.585 MB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1485, allocations: 0.5376 MB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.1487, allocations: 4 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.38e-05/0.1488, allocations: 7.875 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.149, allocations: 15.86 kB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.1495, allocations: 59.81 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.1497, allocations: 47.84 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1499, allocations: 12.17 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1501, allocations: 39.84 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.764e-05/0.1502, allocations: 23.86 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1502, allocations: 0 / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.427e-05/0.1503, allocations: 12 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.1503, allocations: 15.92 kB / 359.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.1504, allocations: 23.81 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1506, allocations: 59.73 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1506, allocations: 0 / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1506, allocations: 0 / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1506, allocations: 3.938 kB / 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.0005629/0.1512, allocations: 387.3 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1512, allocations: 8.031 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.1514, allocations: 24.77 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.1517, allocations: 192.7 kB / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1517, allocations: 4.312 kB / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1517, allocations: 7.938 kB / 360.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.1521, allocations: 117.9 kB / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1521, allocations: 0 / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1521, allocations: 0 / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.1521, allocations: 0 / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.388e-05/0.1522, allocations: 23.97 kB / 360.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.1526, allocations: 282.5 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1528, allocations: 71.77 kB / 361 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.1529, allocations: 34.64 kB / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.1529, allocations: 7.984 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.1529, allocations: 34.56 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.153, allocations: 0 / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002919/0.1533, allocations: 85.8 kB / 361.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.1533, allocations: 110.8 kB / 361.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.1535, allocations: 152.9 kB / 361.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1535, allocations: 25.7 kB / 361.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.1536, allocations: 96.05 kB / 361.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.1536, allocations: 3.984 kB / 361.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.1536, allocations: 17.7 kB / 361.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1538, allocations: 318.8 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.1538, allocations: 15.98 kB / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.1539, allocations: 31.42 kB / 361.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.154, allocations: 51.36 kB / 362 MB, free: 9.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.154, allocations: 0 / 362 MB, free: 9.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001671/0.1542, allocations: 69.47 kB / 362 MB, free: 9.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.1542, allocations: 10.97 kB / 362.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1543, allocations: 0 / 362.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1543, allocations: 3.938 kB / 362.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.2e-05/0.1544, allocations: 11.98 kB / 362.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1544, allocations: 0 / 362.1 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.1545, allocations: 12.06 kB / 362.1 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1545, allocations: 4 kB / 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.0001101/0.1546, allocations: 121.8 kB / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.252e-05/0.1547, allocations: 53.55 kB / 362.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.1547, allocations: 11.86 kB / 362.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1548, allocations: 4 kB / 362.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.1548, allocations: 7.938 kB / 362.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1548, allocations: 3.938 kB / 362.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.155, allocations: 173.7 kB / 362.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.155, allocations: 0 / 362.4 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.1551, allocations: 11.98 kB / 362.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1551, allocations: 0 / 362.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1551, allocations: 8 kB / 362.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1551, allocations: 3.938 kB / 362.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1551, allocations: 0 / 362.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1554, allocations: 177.1 kB / 362.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.1555, allocations: 97 kB / 362.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1555, allocations: 0 / 362.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.1556, allocations: 7.984 kB / 362.7 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.1556, allocations: 3.938 kB / 362.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1556, allocations: 0 / 362.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1557, allocations: 118.2 kB / 362.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.1558, allocations: 4 kB / 362.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.156, allocations: 4 kB / 362.9 MB, free: 8.266 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.0001732/0.1562, allocations: 99.19 kB / 363 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.1564, allocations: 35.92 kB / 363 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1564, allocations: 0 / 363 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.592e-05/0.1565, allocations: 15.98 kB / 363 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.1569, allocations: 28.2 kB / 363.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.1574, allocations: 184.1 kB / 363.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1577, allocations: 0.6965 MB / 363.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.034e-05/0.1577, allocations: 3.984 kB / 363.9 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.1578, allocations: 11.44 kB / 363.9 MB, free: 7.137 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1578, allocations: 3.938 kB / 363.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of Templates: time 0.003341/0.1611, allocations: 0.5914 MB / 364.5 MB, free: 6.551 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches