Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.0008702, allocations: 93.31 kB / 17.31 MB, free: 6.539 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.001095/0.001095, allocations: 177.7 kB / 18.21 MB, free: 5.68 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.28/1.28, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002237/0.0002237, allocations: 7.938 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07367/0.07391, allocations: 50.41 MB / 352.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001481/0.07542, allocations: 1.268 MB / 353.8 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007057/0.07614, allocations: 490.8 kB / 354.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.07621, allocations: 4 kB / 354.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.07625, allocations: 0 / 354.2 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.07636, allocations: 7.938 kB / 354.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.07659, allocations: 55.83 kB / 354.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.947e-05/0.07668, allocations: 39.86 kB / 354.3 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.07677, allocations: 19.97 kB / 354.4 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.07684, allocations: 15.88 kB / 354.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.0769, allocations: 19.86 kB / 354.4 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.07692, allocations: 0 / 354.4 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.07693, allocations: 11.94 kB / 354.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.07699, allocations: 7.984 kB / 354.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.07704, allocations: 49.5 kB / 354.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.363e-05/0.0771, allocations: 39.88 kB / 354.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.07711, allocations: 0 / 354.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.07712, allocations: 0 / 354.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.07713, allocations: 0 / 354.5 MB, free: 1.672 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.0003657/0.0775, allocations: 363.5 kB / 354.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.07754, allocations: 12.03 kB / 354.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.07757, allocations: 12.84 kB / 354.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.07774, allocations: 194.9 kB / 355.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.07776, allocations: 8.375 kB / 355.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.07777, allocations: 4.312 kB / 355.1 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.07801, allocations: 109.3 kB / 355.2 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.07803, allocations: 4 kB / 355.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.07804, allocations: 0 / 355.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.07805, allocations: 0 / 355.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.323e-05/0.07814, allocations: 23.98 kB / 355.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.07841, allocations: 265.8 kB / 355.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/0.0785, allocations: 45.16 kB / 355.5 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.07856, allocations: 21.77 kB / 355.5 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.07859, allocations: 0 / 355.5 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.07861, allocations: 42.44 kB / 355.6 MB, free: 412 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.07862, allocations: 0 / 355.6 MB, free: 412 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002289/0.07885, allocations: 73.58 kB / 355.7 MB, free: 332 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.07891, allocations: 85.05 kB / 355.7 MB, free: 228 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.07902, allocations: 134.4 kB / 355.9 MB, free: 80 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.07904, allocations: 29.7 kB / 355.9 MB, free: 44 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.07909, allocations: 92.12 kB / 356 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.07911, allocations: 7.938 kB / 356 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.07914, allocations: 9.719 kB / 356 MB, free: 15.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.07923, allocations: 310.8 kB / 356.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.07928, allocations: 15.98 kB / 356.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-05/0.07933, allocations: 21.72 kB / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.372e-05/0.07942, allocations: 37.64 kB / 356.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.07944, allocations: 0 / 356.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001268/0.07957, allocations: 69.58 kB / 356.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.07959, allocations: 4 kB / 356.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.0796, allocations: 0 / 356.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.07961, allocations: 0 / 356.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.07968, allocations: 8 kB / 356.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.07969, allocations: 0 / 356.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.07974, allocations: 15.91 kB / 356.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.07975, allocations: 0 / 356.5 MB, free: 15.43 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 7.07e-05/0.07983, allocations: 125.8 kB / 356.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.07989, allocations: 37.61 kB / 356.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.07993, allocations: 15.86 kB / 356.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.07994, allocations: 0 / 356.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.07994, allocations: 0 / 356.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.07995, allocations: 0 / 356.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.08011, allocations: 173.6 kB / 356.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.08012, allocations: 0 / 356.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.08017, allocations: 4 kB / 356.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.08018, allocations: 0 / 356.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.08019, allocations: 12.02 kB / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.0802, allocations: 4 kB / 356.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.08021, allocations: 0 / 356.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.08037, allocations: 164.2 kB / 357 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.08043, allocations: 97.06 kB / 357.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.08045, allocations: 0 / 357.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.08053, allocations: 7.984 kB / 357.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.08056, allocations: 0 / 357.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.08056, allocations: 0 / 357.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.695e-05/0.08064, allocations: 113.8 kB / 357.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08064, allocations: 0 / 357.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.08087, allocations: 4 kB / 357.2 MB, free: 14.58 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 7.475e-05/0.08095, allocations: 107.2 kB / 357.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.08108, allocations: 23.92 kB / 357.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08109, allocations: 0 / 357.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.08114, allocations: 12 kB / 357.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.08146, allocations: 19.95 kB / 357.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.08177, allocations: 222.7 kB / 357.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.08198, allocations: 0.6887 MB / 358.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.08201, allocations: 11.44 kB / 358.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.08202, allocations: 0 / 358.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Templates: time 0.00176/0.08379, allocations: 0.7091 MB / 359 MB, free: 12.72 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches