Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 201.5 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009279/0.0009278, allocations: 106.4 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002517/0.0002517, allocations: 8 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2887, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.405, allocations: 82.28 MB / 491.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.4053, allocations: 83.95 kB / 491.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02193/0.4273, allocations: 7.505 MB / 499.2 MB, free: 1.629 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4273, allocations: 0 / 499.2 MB, free: 1.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.322e-05/0.4273, allocations: 4 kB / 499.2 MB, free: 1.625 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009558/0.4283, allocations: 0.5507 MB / 499.8 MB, free: 1.016 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.4284, allocations: 8.031 kB / 499.8 MB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.4285, allocations: 28.66 kB / 499.8 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.429, allocations: 307.5 kB / 0.4884 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.4291, allocations: 8.375 kB / 0.4884 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.4291, allocations: 4.375 kB / 0.4884 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.4295, allocations: 171.9 kB / 0.4886 GB, free: 448 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4295, allocations: 192 / 0.4886 GB, free: 448 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.4295, allocations: 7.938 kB / 0.4886 GB, free: 440 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4296, allocations: 0 / 0.4886 GB, free: 440 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.4297, allocations: 43.91 kB / 0.4886 GB, free: 396 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.4305, allocations: 406.3 kB / 0.489 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.4307, allocations: 115.9 kB / 0.4891 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.4308, allocations: 54.5 kB / 0.4892 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.4309, allocations: 0 / 0.4892 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.4311, allocations: 79.38 kB / 0.4893 GB, free: 15.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.4311, allocations: 0 / 0.4893 GB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004287/0.4315, allocations: 153.3 kB / 0.4894 GB, free: 15.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.4317, allocations: 170.4 kB / 0.4896 GB, free: 15.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.432, allocations: 330.7 kB / 0.4899 GB, free: 14.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.4321, allocations: 29.7 kB / 0.4899 GB, free: 14.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.4322, allocations: 136 kB / 0.49 GB, free: 14.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.4322, allocations: 19.75 kB / 0.4901 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.4322, allocations: 0 / 0.4901 GB, free: 14.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4324, allocations: 338.8 kB / 0.4904 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.4324, allocations: 27.98 kB / 0.4904 GB, free: 14.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.4326, allocations: 90.92 kB / 0.4905 GB, free: 14.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.4327, allocations: 96.45 kB / 0.4906 GB, free: 14.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4327, allocations: 0 / 0.4906 GB, free: 14.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002437/0.433, allocations: 125.4 kB / 0.4907 GB, free: 14.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.433, allocations: 4 kB / 0.4907 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.433, allocations: 0 / 0.4907 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4331, allocations: 7.938 kB / 0.4907 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4332, allocations: 19.92 kB / 0.4907 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4332, allocations: 8.125 kB / 0.4907 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.634e-05/0.4333, allocations: 11.84 kB / 0.4908 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4333, allocations: 4 kB / 0.4908 GB, free: 13.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001587/0.4335, allocations: 161.8 kB / 0.4909 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/0.4336, allocations: 61.45 kB / 0.491 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.4338, allocations: 131.2 kB / 0.4911 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4339, allocations: 8.062 kB / 0.4911 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4339, allocations: 0 / 0.4911 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.4339, allocations: 3.984 kB / 0.4911 GB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.4341, allocations: 249.5 kB / 0.4913 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4341, allocations: 0 / 0.4913 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.4342, allocations: 19.92 kB / 0.4914 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4342, allocations: 0 / 0.4914 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4342, allocations: 4 kB / 0.4914 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4342, allocations: 0 / 0.4914 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4343, allocations: 0 / 0.4914 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.4346, allocations: 178.4 kB / 0.4915 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.4347, allocations: 124.8 kB / 0.4917 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.4347, allocations: 8 kB / 0.4917 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.4348, allocations: 64 / 0.4917 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.4349, allocations: 11.98 kB / 0.4917 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4349, allocations: 8 kB / 0.4917 GB, free: 12.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002629/0.4352, allocations: 257.9 kB / 0.4919 GB, free: 12.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4352, allocations: 0 / 0.4919 GB, free: 12.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003275/0.4355, allocations: 48.02 kB / 0.492 GB, free: 12.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001242/0.4368, allocations: 442.9 kB / 0.4924 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.4371, allocations: 91.83 kB / 0.4925 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.4371, allocations: 4.25 kB / 0.4925 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.4372, allocations: 31.98 kB / 0.4925 GB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.4378, allocations: 64.81 kB / 0.4926 GB, free: 12.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.4388, allocations: 412.5 kB / 0.493 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.4394, allocations: 0.7439 MB / 0.4937 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.4395, allocations: 33.53 kB / 0.4937 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.4396, allocations: 19.44 kB / 0.4938 GB, free: 10.88 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4396, allocations: 0 / 0.4938 GB, free: 10.88 MB / 378.7 MB Notification: Performance of Templates: time 0.008307/0.4479, allocations: 2.807 MB / 0.4965 GB, free: 8.09 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches