Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008416/0.0008416, allocations: 106.7 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.231e-05/1.244e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09613, allocations: 51.48 MB / 395.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.4294, allocations: 77.15 MB / 472.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4297, allocations: 79.73 kB / 472.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008421/0.4381, allocations: 2.196 MB / 474.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4382, allocations: 0 / 474.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.4382, allocations: 0 / 474.6 MB, free: 13.02 MB / 346.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.0003646/0.4386, allocations: 358.1 kB / 474.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4386, allocations: 8.031 kB / 475 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.4388, allocations: 19.62 kB / 475 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.439, allocations: 193.4 kB / 475.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4391, allocations: 4 kB / 475.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.4391, allocations: 7.609 kB / 475.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001077/0.4392, allocations: 13.05 kB / 475.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.4394, allocations: 96.88 kB / 475.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4395, allocations: 0 / 475.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4395, allocations: 0 / 475.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.4395, allocations: 9.969 kB / 475.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.4399, allocations: 243.7 kB / 475.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.538e-05/0.4399, allocations: 40.53 kB / 475.6 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.44, allocations: 12.72 kB / 475.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.44, allocations: 9.609 kB / 475.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.4401, allocations: 30.56 kB / 475.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.4401, allocations: 0 / 475.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001945/0.4403, allocations: 49.66 kB / 475.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.4403, allocations: 79.88 kB / 475.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.4405, allocations: 128.1 kB / 475.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.4405, allocations: 27.02 kB / 475.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.4405, allocations: 85.36 kB / 476 MB, free: 11.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.4406, allocations: 11.84 kB / 476 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.4406, allocations: 0 / 476 MB, free: 11.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.167e-05/0.4406, allocations: 316.5 kB / 476.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.4407, allocations: 4 kB / 476.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/0.4407, allocations: 13.47 kB / 476.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.215e-05/0.4407, allocations: 12.02 kB / 476.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4407, allocations: 0 / 476.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.675e-05/0.4408, allocations: 48.48 kB / 476.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4409, allocations: 4 kB / 476.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4409, allocations: 1.969 kB / 476.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4409, allocations: 4 kB / 476.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.441, allocations: 6.859 kB / 476.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.441, allocations: 0 / 476.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.4411, allocations: 8.062 kB / 476.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.4411, allocations: 1.406 kB / 476.4 MB, free: 11.11 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 5.569e-05/0.4412, allocations: 108.9 kB / 476.5 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.4413, allocations: 46.61 kB / 476.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.4413, allocations: 12.36 kB / 476.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4413, allocations: 0 / 476.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4413, allocations: 0 / 476.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4414, allocations: 1.828 kB / 476.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.4415, allocations: 152.2 kB / 476.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4415, allocations: 0 / 476.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.4416, allocations: 5.312 kB / 476.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4416, allocations: 5.688 kB / 476.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4416, allocations: 4 kB / 476.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4417, allocations: 0 / 476.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4417, allocations: 0 / 476.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.4418, allocations: 162.3 kB / 476.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.4418, allocations: 92.67 kB / 477 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.4419, allocations: 6.438 kB / 477 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.442, allocations: 6.812 kB / 477 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.442, allocations: 5.219 kB / 477 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4421, allocations: 0 / 477 MB, free: 10.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.681e-05/0.4421, allocations: 105.2 kB / 477.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.4421, allocations: 0 / 477.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004013/0.4426, allocations: 11.97 kB / 477.1 MB, free: 10.37 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.0001072/0.4427, allocations: 100.8 kB / 477.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.907e-05/0.4428, allocations: 11.88 kB / 477.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4428, allocations: 0 / 477.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.829e-05/0.4428, allocations: 5.812 kB / 477.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.4432, allocations: 19.75 kB / 477.2 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.4435, allocations: 97.5 kB / 477.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.4436, allocations: 0.6923 MB / 478 MB, free: 9.426 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.323e-05/0.4437, allocations: 1.641 kB / 478 MB, free: 9.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.4437, allocations: 11.44 kB / 478 MB, free: 9.414 MB / 346.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4437, allocations: 0 / 478 MB, free: 9.414 MB / 346.7 MB Notification: Performance of Templates: time 0.003141/0.4469, allocations: 432 kB / 478.5 MB, free: 9.188 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches