Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 199.2 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008399/0.0008399, allocations: 102.6 kB / 297.4 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003713, allocations: 12 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2237, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09162/0.3154, allocations: 82.28 MB / 490.9 MB, free: 9.312 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.3156, allocations: 83.95 kB / 491 MB, free: 9.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01978/0.3354, allocations: 7.488 MB / 498.5 MB, free: 1.742 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3355, allocations: 0 / 498.5 MB, free: 1.742 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.3355, allocations: 4 kB / 498.5 MB, free: 1.738 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.0007004/0.3362, allocations: 0.5546 MB / 499.1 MB, free: 1.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3363, allocations: 8.031 kB / 499.1 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.3363, allocations: 24.66 kB / 499.1 MB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.3367, allocations: 307.5 kB / 499.4 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3368, allocations: 8.375 kB / 499.4 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3368, allocations: 8.375 kB / 499.4 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.3371, allocations: 160.1 kB / 499.6 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3371, allocations: 4.125 kB / 499.6 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3371, allocations: 11.94 kB / 499.6 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3372, allocations: 0 / 499.6 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3373, allocations: 43.91 kB / 499.6 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.3378, allocations: 410.2 kB / 0.4883 GB, free: 40 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.338, allocations: 123.9 kB / 0.4884 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.3381, allocations: 42.56 kB / 0.4885 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3382, allocations: 3.938 kB / 0.4885 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.3383, allocations: 83.38 kB / 0.4886 GB, free: 15.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3383, allocations: 0 / 0.4886 GB, free: 15.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003738/0.3387, allocations: 157.3 kB / 0.4887 GB, free: 15.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.3388, allocations: 162.2 kB / 0.4889 GB, free: 15.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.3391, allocations: 334.9 kB / 0.4892 GB, free: 15.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3392, allocations: 33.7 kB / 0.4892 GB, free: 15.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.3393, allocations: 136 kB / 0.4893 GB, free: 14.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3393, allocations: 11.81 kB / 0.4894 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.3393, allocations: 4 kB / 0.4894 GB, free: 14.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.3394, allocations: 338.8 kB / 0.4897 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.3395, allocations: 23.98 kB / 0.4897 GB, free: 14.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3396, allocations: 92.59 kB / 0.4898 GB, free: 14.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.3398, allocations: 88.2 kB / 0.4899 GB, free: 14.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3398, allocations: 4 kB / 0.4899 GB, free: 14.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00022/0.34, allocations: 125.4 kB / 0.49 GB, free: 14.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.34, allocations: 4 kB / 0.49 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.34, allocations: 0 / 0.49 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.34, allocations: 7.938 kB / 0.49 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3402, allocations: 23.92 kB / 0.49 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3402, allocations: 0 / 0.49 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3403, allocations: 15.84 kB / 0.4901 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3403, allocations: 8.125 kB / 0.4901 GB, free: 14.09 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.0001282/0.3404, allocations: 158.1 kB / 0.4902 GB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/0.3405, allocations: 65.45 kB / 0.4903 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.3408, allocations: 127.3 kB / 0.4904 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3408, allocations: 4 kB / 0.4904 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3408, allocations: 0 / 0.4904 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3408, allocations: 3.984 kB / 0.4904 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.341, allocations: 253.6 kB / 0.4906 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.341, allocations: 0 / 0.4906 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/0.3411, allocations: 19.92 kB / 0.4907 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3411, allocations: 0 / 0.4907 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3412, allocations: 8 kB / 0.4907 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3412, allocations: 0 / 0.4907 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3412, allocations: 3.938 kB / 0.4907 GB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.3414, allocations: 178.4 kB / 0.4908 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3416, allocations: 124.8 kB / 0.491 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.3416, allocations: 4 kB / 0.491 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.3417, allocations: 4 kB / 0.491 GB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.3417, allocations: 11.98 kB / 0.491 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3417, allocations: 0 / 0.491 GB, free: 13.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002296/0.342, allocations: 253.9 kB / 0.4912 GB, free: 12.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.342, allocations: 0 / 0.4912 GB, free: 12.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.3423, allocations: 55.92 kB / 0.4913 GB, free: 12.72 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.0008815/0.3432, allocations: 431.2 kB / 0.4917 GB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.3434, allocations: 91.83 kB / 0.4918 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3435, allocations: 0 / 0.4918 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.302e-05/0.3435, allocations: 31.98 kB / 0.4918 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.344, allocations: 88.55 kB / 0.4919 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.3446, allocations: 442.2 kB / 0.4923 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3449, allocations: 0.7478 MB / 0.493 GB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.345, allocations: 19.44 kB / 0.4931 GB, free: 10.97 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.345, allocations: 3.938 kB / 0.4931 GB, free: 10.97 MB / 378.7 MB Notification: Performance of Templates: time 0.004556/0.3496, allocations: 2.977 MB / 0.496 GB, free: 8.004 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches