Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001854/0.001854, allocations: 202.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008001/0.0008002, allocations: 105.2 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.386e-05/1.399e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 51.47 MB / 395.2 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3085/0.4092, allocations: 77.15 MB / 472.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.4095, allocations: 75.52 kB / 472.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005477/0.415, allocations: 2.195 MB / 474.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.415, allocations: 0 / 474.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.415, allocations: 4 kB / 474.6 MB, free: 12.97 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.0002781/0.4153, allocations: 362.7 kB / 474.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4153, allocations: 8.031 kB / 475 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.4155, allocations: 22.97 kB / 475 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.4156, allocations: 186.5 kB / 475.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4156, allocations: 4 kB / 475.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.4157, allocations: 3.609 kB / 475.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.184e-05/0.4157, allocations: 17.27 kB / 475.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.4159, allocations: 95.83 kB / 475.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4159, allocations: 0 / 475.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.416, allocations: 2.25 kB / 475.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.416, allocations: 0 / 475.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.4162, allocations: 248.5 kB / 475.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.163e-05/0.4163, allocations: 40.66 kB / 475.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.4163, allocations: 13.84 kB / 475.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.4163, allocations: 1.453 kB / 475.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.4164, allocations: 37.88 kB / 475.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4164, allocations: 0 / 475.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.4165, allocations: 47.69 kB / 475.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.4166, allocations: 82.48 kB / 475.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.4167, allocations: 122.4 kB / 475.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.4167, allocations: 29.7 kB / 475.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.4167, allocations: 85.03 kB / 476 MB, free: 11.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/0.4167, allocations: 7.844 kB / 476 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.4167, allocations: 0 / 476 MB, free: 11.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.4168, allocations: 321.1 kB / 476.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.4168, allocations: 0 / 476.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.4168, allocations: 24.84 kB / 476.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.62e-05/0.4168, allocations: 9.406 kB / 476.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4168, allocations: 0 / 476.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.596e-05/0.4169, allocations: 38.47 kB / 476.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.4169, allocations: 8 kB / 476.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4169, allocations: 0 / 476.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4169, allocations: 5.609 kB / 476.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/0.417, allocations: 12.36 kB / 476.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.417, allocations: 7.938 kB / 476.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.4171, allocations: 1.641 kB / 476.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.4171, allocations: 4 kB / 476.4 MB, free: 11.06 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 4.201e-05/0.4171, allocations: 108.9 kB / 476.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.4172, allocations: 39.16 kB / 476.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.4172, allocations: 9.422 kB / 476.6 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4172, allocations: 8.031 kB / 476.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4172, allocations: 3.062 kB / 476.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4172, allocations: 0 / 476.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.4174, allocations: 144.8 kB / 476.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4174, allocations: 0 / 476.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.4174, allocations: 9.406 kB / 476.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4174, allocations: 3.953 kB / 476.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.4174, allocations: 0 / 476.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4174, allocations: 1.688 kB / 476.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4174, allocations: 2.5 kB / 476.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.758e-05/0.4175, allocations: 168.1 kB / 476.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.4176, allocations: 95.92 kB / 477 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.4176, allocations: 0 / 477 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.4177, allocations: 5.547 kB / 477 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.4177, allocations: 0 / 477 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.4177, allocations: 5.156 kB / 477 MB, free: 10.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.504e-05/0.4178, allocations: 104 kB / 477.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.4178, allocations: 0 / 477.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.418, allocations: 11.94 kB / 477.1 MB, free: 10.32 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 9.723e-05/0.4181, allocations: 96.8 kB / 477.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.993e-05/0.4182, allocations: 16.58 kB / 477.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4182, allocations: 0 / 477.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.32e-05/0.4182, allocations: 7.688 kB / 477.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.4185, allocations: 19.84 kB / 477.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.4187, allocations: 86.27 kB / 477.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.4189, allocations: 0.6928 MB / 478 MB, free: 9.387 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.891e-05/0.4189, allocations: 4.75 kB / 478 MB, free: 9.383 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.4189, allocations: 8.234 kB / 478 MB, free: 9.375 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4189, allocations: 96 / 478 MB, free: 9.375 MB / 346.7 MB Notification: Performance of Templates: time 0.002078/0.421, allocations: 444.8 kB / 478.5 MB, free: 9.145 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches