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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 93.83 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.734e-05/1.731e-05, allocations: 3.984 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09804, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4159/0.514, allocations: 76.34 MB / 463.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/0.5144, allocations: 75.95 kB / 463.9 MB, free: 2.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00835/0.5228, allocations: 2.093 MB / 466 MB, free: 376 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5228, allocations: 0 / 466 MB, free: 376 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.5228, allocations: 4 kB / 466 MB, free: 372 kB / 330.7 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.0004472/0.5233, allocations: 359.7 kB / 466.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.5233, allocations: 12.03 kB / 466.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.5234, allocations: 11.86 kB / 466.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.5236, allocations: 186.9 kB / 466.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5237, allocations: 7.984 kB / 466.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.5237, allocations: 0 / 466.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.785e-05/0.5238, allocations: 16 kB / 466.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.5241, allocations: 97.05 kB / 466.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5241, allocations: 11.88 kB / 466.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5241, allocations: 0 / 466.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5241, allocations: 0 / 466.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.5245, allocations: 254.2 kB / 466.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.444e-05/0.5246, allocations: 33.22 kB / 466.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.5247, allocations: 17.78 kB / 467 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.5247, allocations: 0 / 467 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.5248, allocations: 30.56 kB / 467 MB, free: 15.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 3.276e-06/0.5248, allocations: 4 kB / 467 MB, free: 15.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001944/0.525, allocations: 57.48 kB / 467 MB, free: 15.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.5251, allocations: 77.11 kB / 467.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.5252, allocations: 118.7 kB / 467.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.5252, allocations: 25.7 kB / 467.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.5253, allocations: 96.12 kB / 467.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.5253, allocations: 3.906 kB / 467.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.5253, allocations: 0 / 467.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5255, allocations: 318.9 kB / 467.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.5255, allocations: 9.25 kB / 467.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.5256, allocations: 17.66 kB / 467.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.5256, allocations: 7.984 kB / 467.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5256, allocations: 0 / 467.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.893e-05/0.5257, allocations: 37.7 kB / 467.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5257, allocations: 13.38 kB / 467.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5258, allocations: 3.953 kB / 467.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5258, allocations: 0 / 467.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.5259, allocations: 7.984 kB / 467.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5259, allocations: 7.938 kB / 467.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.031e-05/0.526, allocations: 0 / 467.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.526, allocations: 8 kB / 467.8 MB, free: 14.31 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.434e-05/0.5261, allocations: 101 kB / 467.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.5262, allocations: 41.61 kB / 467.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.5262, allocations: 11.95 kB / 467.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.5262, allocations: 3.953 kB / 467.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5262, allocations: 4 kB / 467.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5263, allocations: 0 / 467.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.5265, allocations: 146.2 kB / 468.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5265, allocations: 0 / 468.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/0.5266, allocations: 8 kB / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5266, allocations: 0 / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.5266, allocations: 0 / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.5266, allocations: 8.016 kB / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5266, allocations: 0 / 468.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.5268, allocations: 165.9 kB / 468.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.5269, allocations: 93 kB / 468.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.5269, allocations: 0 / 468.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.527, allocations: 12.02 kB / 468.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.5271, allocations: 3.953 kB / 468.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.5271, allocations: 0 / 468.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.686e-05/0.5272, allocations: 105.7 kB / 468.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5272, allocations: 0 / 468.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003766/0.5276, allocations: 4 kB / 468.5 MB, free: 13.53 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001058/0.5277, allocations: 95.25 kB / 468.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.202e-05/0.5278, allocations: 16 kB / 468.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5278, allocations: 8 kB / 468.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.986e-05/0.5279, allocations: 7.984 kB / 468.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.5282, allocations: 12.03 kB / 468.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.5285, allocations: 88.89 kB / 468.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.5288, allocations: 0.6924 MB / 469.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.24e-05/0.5289, allocations: 8.141 kB / 469.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.5289, allocations: 11.44 kB / 469.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5289, allocations: 0 / 469.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of Templates: time 0.00313/0.5321, allocations: 440.1 kB / 469.8 MB, free: 12.11 MB / 346.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches