Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 110.5 kB / 16.92 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 54.08 kB / 300.6 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1392, allocations: 49.45 MB / 350.1 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.004633/0.1439, allocations: 1.565 MB / 351.6 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1453, allocations: 488.2 kB / 352.1 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1454, allocations: 8 kB / 352.1 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.041e-05/0.1455, allocations: 3.938 kB / 352.1 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.1457, allocations: 7.875 kB / 352.1 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1461, allocations: 49.45 kB / 352.2 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1462, allocations: 43.84 kB / 352.2 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1464, allocations: 16.19 kB / 352.2 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.246e-05/0.1465, allocations: 27.84 kB / 352.3 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.1466, allocations: 27.86 kB / 352.3 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1466, allocations: 0 / 352.3 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.1466, allocations: 4 kB / 352.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.1467, allocations: 11.94 kB / 352.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.1467, allocations: 35.73 kB / 352.3 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1469, allocations: 47.81 kB / 352.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1469, allocations: 0 / 352.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1469, allocations: 0 / 352.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1469, allocations: 3.984 kB / 352.4 MB, free: 2.078 MB / 286.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.0006319/0.1476, allocations: 387.3 kB / 352.8 MB, free: 1.652 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.1476, allocations: 8.031 kB / 352.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.1477, allocations: 12.84 kB / 352.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.148, allocations: 200 kB / 353 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.148, allocations: 4.375 kB / 353 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.148, allocations: 4.375 kB / 353 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.1484, allocations: 118 kB / 353.1 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1484, allocations: 0 / 353.1 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1484, allocations: 4 kB / 353.1 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1484, allocations: 0 / 353.1 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.181e-05/0.1485, allocations: 23.92 kB / 353.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.1491, allocations: 274.6 kB / 353.4 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1492, allocations: 71.78 kB / 353.5 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.1493, allocations: 30.62 kB / 353.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1493, allocations: 4 kB / 353.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.1494, allocations: 38.56 kB / 353.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1494, allocations: 0 / 353.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000344/0.1497, allocations: 85.45 kB / 353.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.1498, allocations: 111.2 kB / 353.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.15, allocations: 144.8 kB / 353.9 MB, free: 352 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.15, allocations: 25.7 kB / 353.9 MB, free: 320 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/0.1501, allocations: 88.08 kB / 354 MB, free: 228 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1501, allocations: 11.89 kB / 354 MB, free: 216 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.1501, allocations: 17.72 kB / 354 MB, free: 192 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.1504, allocations: 322.7 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.697e-05/0.1504, allocations: 11.98 kB / 354.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.1505, allocations: 43.34 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1506, allocations: 43.42 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1506, allocations: 4 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001393/0.1508, allocations: 69.56 kB / 354.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1508, allocations: 7.984 kB / 354.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1508, allocations: 0 / 354.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1508, allocations: 4 kB / 354.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.1509, allocations: 8 kB / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1509, allocations: 0 / 354.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.151, allocations: 12.02 kB / 354.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.151, allocations: 4 kB / 354.5 MB, free: 15.63 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.0001058/0.1511, allocations: 125.7 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.334e-05/0.1512, allocations: 53.53 kB / 354.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.1513, allocations: 11.88 kB / 354.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1513, allocations: 0 / 354.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1513, allocations: 0 / 354.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.1513, allocations: 4 kB / 354.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.1515, allocations: 173.6 kB / 354.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1515, allocations: 8.062 kB / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.1516, allocations: 8 kB / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.1516, allocations: 7.938 kB / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1516, allocations: 0 / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1516, allocations: 0 / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1516, allocations: 0 / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1518, allocations: 185.1 kB / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.1519, allocations: 92.98 kB / 355.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.1519, allocations: 0 / 355.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.152, allocations: 8 kB / 355.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.152, allocations: 0 / 355.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.152, allocations: 4 kB / 355.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.246e-05/0.1521, allocations: 110.2 kB / 355.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.1521, allocations: 0 / 355.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1524, allocations: 11.94 kB / 355.3 MB, free: 14.73 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.0001188/0.1525, allocations: 103.7 kB / 355.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1527, allocations: 43.84 kB / 355.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1527, allocations: 0 / 355.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.552e-05/0.1528, allocations: 4 kB / 355.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.1533, allocations: 27.39 kB / 355.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.1538, allocations: 200.5 kB / 355.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.1543, allocations: 0.6924 MB / 356.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.507e-05/0.1543, allocations: 7.984 kB / 356.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.1544, allocations: 11.44 kB / 356.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1544, allocations: 0 / 356.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of Templates: time 0.003363/0.1577, allocations: 0.5884 MB / 357 MB, free: 13 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches