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.00147/0.001469, allocations: 109.6 kB / 16.51 MB, free: 6.707 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.00159/0.00159, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.453/1.453, allocations: 222.9 MB / 241.1 MB, free: 15.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 47.39 kB / 300 MB, free: 6.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1223, allocations: 49.45 MB / 349.4 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.00477/0.1271, allocations: 1.616 MB / 351 MB, free: 3.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1282, allocations: 482.7 kB / 351.5 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1284, allocations: 11.94 kB / 351.5 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.976e-05/0.1284, allocations: 3.984 kB / 351.5 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.1286, allocations: 3.938 kB / 351.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.1289, allocations: 44.41 kB / 351.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1291, allocations: 47.84 kB / 351.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1292, allocations: 12.17 kB / 351.6 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.1293, allocations: 19.92 kB / 351.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.1294, allocations: 27.86 kB / 351.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.1294, allocations: 0 / 351.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.1294, allocations: 7.938 kB / 351.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.1295, allocations: 15.92 kB / 351.7 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.1295, allocations: 27.73 kB / 351.7 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.1297, allocations: 55.75 kB / 351.8 MB, free: 2.438 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1297, allocations: 0 / 351.8 MB, free: 2.438 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1297, allocations: 0 / 351.8 MB, free: 2.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1297, allocations: 0 / 351.8 MB, free: 2.438 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.0005212/0.1302, allocations: 383.4 kB / 352.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1303, allocations: 12.03 kB / 352.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1303, allocations: 8.844 kB / 352.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1305, allocations: 192.1 kB / 352.3 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1306, allocations: 8.375 kB / 352.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.1306, allocations: 384 / 352.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.1309, allocations: 122 kB / 352.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1309, allocations: 0 / 352.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1309, allocations: 4 kB / 352.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1309, allocations: 4 kB / 352.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.131, allocations: 27.86 kB / 352.5 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.1314, allocations: 274.5 kB / 352.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.1315, allocations: 63.84 kB / 352.8 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/0.1316, allocations: 34.56 kB / 352.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1317, allocations: 8 kB / 352.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1317, allocations: 34.56 kB / 352.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1317, allocations: 0 / 352.9 MB, free: 1.078 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003087/0.132, allocations: 81.52 kB / 353 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.1321, allocations: 115.1 kB / 353.1 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1322, allocations: 140.6 kB / 353.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1323, allocations: 29.7 kB / 353.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.1323, allocations: 100 kB / 353.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.1324, allocations: 3.906 kB / 353.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.1324, allocations: 17.72 kB / 353.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1325, allocations: 326.8 kB / 353.7 MB, free: 224 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/0.1326, allocations: 4 kB / 353.7 MB, free: 220 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.1327, allocations: 43.41 kB / 353.8 MB, free: 164 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.542e-05/0.1328, allocations: 43.36 kB / 353.8 MB, free: 108 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1328, allocations: 4 kB / 353.8 MB, free: 104 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001565/0.1329, allocations: 69.61 kB / 353.9 MB, free: 28 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.133, allocations: 8 kB / 353.9 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.133, allocations: 0 / 353.9 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.133, allocations: 3.938 kB / 353.9 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1331, allocations: 8 kB / 353.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1331, allocations: 0 / 353.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.1332, allocations: 15.83 kB / 353.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1332, allocations: 8.125 kB / 353.9 MB, free: 15.98 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.0001165/0.1334, allocations: 117.8 kB / 354 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.1335, allocations: 53.53 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.1335, allocations: 11.88 kB / 354.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1335, allocations: 4 kB / 354.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1335, allocations: 0 / 354.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1335, allocations: 0 / 354.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.1338, allocations: 177.6 kB / 354.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1338, allocations: 4.062 kB / 354.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-05/0.1338, allocations: 8 kB / 354.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1338, allocations: 3.938 kB / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1339, allocations: 0 / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1339, allocations: 4 kB / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1339, allocations: 3.984 kB / 354.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1341, allocations: 189 kB / 354.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.1342, allocations: 89 kB / 354.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.87e-05/0.1342, allocations: 4 kB / 354.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.1343, allocations: 4 kB / 354.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.1343, allocations: 4 kB / 354.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1343, allocations: 0 / 354.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.624e-05/0.1344, allocations: 111.2 kB / 354.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1344, allocations: 0 / 354.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.1347, allocations: 4 kB / 354.7 MB, free: 15.1 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 9.79e-05/0.1348, allocations: 103.2 kB / 354.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.1349, allocations: 39.91 kB / 354.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1349, allocations: 0 / 354.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.901e-05/0.135, allocations: 4 kB / 354.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.1354, allocations: 36.92 kB / 354.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.1358, allocations: 198.3 kB / 355.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1361, allocations: 0.6926 MB / 355.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.562e-05/0.1361, allocations: 7.984 kB / 355.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.1361, allocations: 15.38 kB / 355.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1361, allocations: 0 / 355.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of Templates: time 0.002894/0.139, allocations: 0.5447 MB / 356.3 MB, free: 13.4 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