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.001052/0.001052, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001047/0.001047, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.431/1.431, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 43.09 kB / 300.1 MB, free: 5.992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1221, allocations: 49.44 MB / 349.6 MB, free: 4.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.00327/0.1254, allocations: 1.639 MB / 351.2 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.1263, allocations: 474.8 kB / 351.7 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1264, allocations: 7.938 kB / 351.7 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.406e-05/0.1265, allocations: 0 / 351.7 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.1267, allocations: 3.938 kB / 351.7 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.127, allocations: 53.64 kB / 351.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.1271, allocations: 47.8 kB / 351.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1272, allocations: 24.16 kB / 351.8 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.1273, allocations: 19.88 kB / 351.8 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.1274, allocations: 23.86 kB / 351.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1274, allocations: 4 kB / 351.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.1274, allocations: 4 kB / 351.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.1275, allocations: 15.92 kB / 351.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.1276, allocations: 27.8 kB / 351.9 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1277, allocations: 51.81 kB / 352 MB, free: 2.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1277, allocations: 0 / 352 MB, free: 2.145 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1277, allocations: 0 / 352 MB, free: 2.145 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1277, allocations: 4 kB / 352 MB, free: 2.141 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.0005324/0.1283, allocations: 383.3 kB / 352.3 MB, free: 1.719 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1283, allocations: 8.031 kB / 352.3 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.1283, allocations: 8.844 kB / 352.3 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.1286, allocations: 196.1 kB / 352.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1286, allocations: 8.375 kB / 352.5 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1286, allocations: 384 / 352.5 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.1289, allocations: 122 kB / 352.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.129, allocations: 7.875 kB / 352.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.129, allocations: 0 / 352.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.129, allocations: 4 kB / 352.7 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.1291, allocations: 27.97 kB / 352.7 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.1294, allocations: 270.5 kB / 353 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1296, allocations: 75.78 kB / 353 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.624e-05/0.1297, allocations: 26.64 kB / 353.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.1297, allocations: 4 kB / 353.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1297, allocations: 38.55 kB / 353.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1297, allocations: 0 / 353.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002743/0.13, allocations: 85.45 kB / 353.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.1301, allocations: 106.8 kB / 353.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1302, allocations: 144.6 kB / 353.4 MB, free: 420 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1303, allocations: 26.08 kB / 353.5 MB, free: 388 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.1304, allocations: 100.1 kB / 353.6 MB, free: 284 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.1304, allocations: 7.891 kB / 353.6 MB, free: 276 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.1304, allocations: 21.66 kB / 353.6 MB, free: 248 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1306, allocations: 318.8 kB / 353.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.1306, allocations: 12 kB / 353.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.178e-05/0.1307, allocations: 31.42 kB / 353.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.929e-05/0.1308, allocations: 51.36 kB / 354 MB, free: 15.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1308, allocations: 0 / 354 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001292/0.1309, allocations: 69.64 kB / 354.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1309, allocations: 8.031 kB / 354.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1309, allocations: 4 kB / 354.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.131, allocations: 0 / 354.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.796e-05/0.1311, allocations: 11.98 kB / 354.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1311, allocations: 0 / 354.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.1311, allocations: 7.906 kB / 354.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1311, allocations: 0 / 354.1 MB, free: 15.7 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 9.183e-05/0.1312, allocations: 121.8 kB / 354.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.1313, allocations: 57.53 kB / 354.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.1314, allocations: 11.88 kB / 354.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1314, allocations: 3.984 kB / 354.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1314, allocations: 4 kB / 354.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1314, allocations: 0 / 354.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.1316, allocations: 173.7 kB / 354.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1316, allocations: 0 / 354.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.1316, allocations: 15.97 kB / 354.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1317, allocations: 0 / 354.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1317, allocations: 4 kB / 354.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1317, allocations: 8.062 kB / 354.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1317, allocations: 11.88 kB / 354.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.1319, allocations: 173.1 kB / 354.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.1319, allocations: 93 kB / 354.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.132, allocations: 4 kB / 354.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.132, allocations: 4 kB / 354.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.1321, allocations: 3.984 kB / 354.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1321, allocations: 4 kB / 354.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.269e-05/0.1322, allocations: 103.3 kB / 354.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1322, allocations: 0 / 354.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1324, allocations: 12 kB / 354.9 MB, free: 14.8 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.0001159/0.1325, allocations: 107.1 kB / 355 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.1327, allocations: 35.92 kB / 355 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1327, allocations: 0 / 355 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.1328, allocations: 15.92 kB / 355 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.1332, allocations: 23.97 kB / 355.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.1336, allocations: 209.1 kB / 355.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1339, allocations: 0.6924 MB / 356 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.982e-05/0.1339, allocations: 0 / 356 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.134, allocations: 11.44 kB / 356 MB, free: 13.64 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.134, allocations: 4 kB / 356 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Templates: time 0.002931/0.1369, allocations: 0.5639 MB / 356.5 MB, free: 13.08 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