Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.002251/0.002251, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.447/1.447, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 46.95 kB / 301.3 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1114, allocations: 49.44 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003647/0.1151, allocations: 1.549 MB / 352.3 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1162, allocations: 480.2 kB / 352.7 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1163, allocations: 0 / 352.7 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.286e-05/0.1164, allocations: 7.938 kB / 352.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.1166, allocations: 11.86 kB / 352.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1169, allocations: 39.89 kB / 352.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1171, allocations: 47.8 kB / 352.8 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1172, allocations: 11.98 kB / 352.9 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.1173, allocations: 31.92 kB / 352.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.1174, allocations: 19.86 kB / 352.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.1174, allocations: 4 kB / 352.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.589e-05/0.1174, allocations: 0 / 352.9 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.1175, allocations: 11.98 kB / 352.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.1175, allocations: 31.8 kB / 353 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.1177, allocations: 55.69 kB / 353 MB, free: 2.121 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1177, allocations: 0 / 353 MB, free: 2.121 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1177, allocations: 0 / 353 MB, free: 2.121 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1177, allocations: 0 / 353 MB, free: 2.121 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.0005474/0.1183, allocations: 379.3 kB / 353.4 MB, free: 1.703 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1183, allocations: 8.031 kB / 353.4 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.1184, allocations: 8.844 kB / 353.4 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.1186, allocations: 196.2 kB / 353.6 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1186, allocations: 4.375 kB / 353.6 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.1187, allocations: 4.375 kB / 353.6 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.119, allocations: 113.3 kB / 353.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.119, allocations: 0 / 353.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.119, allocations: 0 / 353.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.119, allocations: 4 kB / 353.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.1191, allocations: 19.92 kB / 353.7 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.1195, allocations: 265.7 kB / 354 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.562e-05/0.1196, allocations: 45.14 kB / 354 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.1196, allocations: 25.77 kB / 354.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.1197, allocations: 0 / 354.1 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1197, allocations: 34.56 kB / 354.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1197, allocations: 0 / 354.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002676/0.12, allocations: 65.83 kB / 354.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.12, allocations: 81.14 kB / 354.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1202, allocations: 137.1 kB / 354.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1202, allocations: 29.7 kB / 354.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.1203, allocations: 96.03 kB / 354.5 MB, free: 416 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1203, allocations: 3.938 kB / 354.5 MB, free: 412 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.1204, allocations: 17.66 kB / 354.5 MB, free: 388 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1205, allocations: 322.8 kB / 354.8 MB, free: 56 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.1206, allocations: 15.98 kB / 354.8 MB, free: 40 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.1206, allocations: 17.72 kB / 354.9 MB, free: 16 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1207, allocations: 29.69 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1207, allocations: 0 / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001308/0.1209, allocations: 65.53 kB / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1209, allocations: 4 kB / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1209, allocations: 4 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1209, allocations: 0 / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.121, allocations: 4 kB / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.121, allocations: 0 / 355 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.1211, allocations: 11.98 kB / 355 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1211, allocations: 0 / 355 MB, free: 15.89 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 9.196e-05/0.1212, allocations: 113.8 kB / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.1213, allocations: 57.52 kB / 355.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.1213, allocations: 7.875 kB / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1213, allocations: 0 / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1213, allocations: 0 / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1213, allocations: 3.938 kB / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1215, allocations: 173.6 kB / 355.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1215, allocations: 0 / 355.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.1216, allocations: 7.984 kB / 355.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1216, allocations: 0 / 355.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1216, allocations: 0 / 355.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1216, allocations: 4.031 kB / 355.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1216, allocations: 4 kB / 355.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.1218, allocations: 160.2 kB / 355.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.1219, allocations: 93 kB / 355.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1219, allocations: 4 kB / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.122, allocations: 8.016 kB / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.122, allocations: 0 / 355.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.122, allocations: 4 kB / 355.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.855e-05/0.1221, allocations: 107.2 kB / 355.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1221, allocations: 0 / 355.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1224, allocations: 4 kB / 355.7 MB, free: 15.04 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.000125/0.1225, allocations: 99.72 kB / 355.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1227, allocations: 31.92 kB / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1227, allocations: 0 / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.1227, allocations: 4 kB / 355.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.1231, allocations: 27.88 kB / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.1236, allocations: 201.4 kB / 356.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1239, allocations: 0.6885 MB / 356.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.124, allocations: 11.44 kB / 356.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.124, allocations: 0 / 356.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Templates: time 0.002475/0.1264, allocations: 0.7239 MB / 357.5 MB, free: 13.2 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches