Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009634/0.0009634, allocations: 201.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.395/1.395, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009043/0.0009047, allocations: 97.05 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.888e-05, allocations: 4 kB / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09272, allocations: 51.47 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3228/0.4155, allocations: 76.6 MB / 471.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.4158, allocations: 77.69 kB / 471.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002747/0.4186, allocations: 1.144 MB / 473 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4186, allocations: 7.438 kB / 473 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.4186, allocations: 4 kB / 473 MB, free: 13.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002945/0.4189, allocations: 342.3 kB / 473.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.419, allocations: 8.031 kB / 473.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.419, allocations: 8.531 kB / 473.3 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.4192, allocations: 184.3 kB / 473.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4192, allocations: 8.859 kB / 473.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.4192, allocations: 0 / 473.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.909e-05/0.4193, allocations: 20.97 kB / 473.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.4195, allocations: 101.2 kB / 473.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.4196, allocations: 0 / 473.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4196, allocations: 5.266 kB / 473.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4196, allocations: 4 kB / 473.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.42, allocations: 240.2 kB / 473.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.4202, allocations: 134.2 kB / 474 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.159e-05/0.4202, allocations: 27.02 kB / 474.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.4202, allocations: 0 / 474.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.4203, allocations: 31.69 kB / 474.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.4203, allocations: 0 / 474.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001768/0.4205, allocations: 55.66 kB / 474.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.4205, allocations: 78.66 kB / 474.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.4206, allocations: 126.1 kB / 474.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.4206, allocations: 25.7 kB / 474.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.4207, allocations: 85.22 kB / 474.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.4207, allocations: 3.938 kB / 474.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.4207, allocations: 0 / 474.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.4208, allocations: 320.1 kB / 474.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.4208, allocations: 1.688 kB / 474.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.4208, allocations: 31.84 kB / 474.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.95e-05/0.4208, allocations: 5.688 kB / 474.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4209, allocations: 0 / 474.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.362e-05/0.4209, allocations: 62.39 kB / 474.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.421, allocations: 7.938 kB / 474.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.421, allocations: 5.016 kB / 474.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.421, allocations: 4.266 kB / 474.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.4211, allocations: 9.594 kB / 474.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4211, allocations: 4 kB / 474.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.4211, allocations: 5.25 kB / 474.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.4211, allocations: 4 kB / 474.9 MB, free: 11.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.423e-05/0.4212, allocations: 101 kB / 475 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.4212, allocations: 52.03 kB / 475.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.4213, allocations: 13.28 kB / 475.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4213, allocations: 4 kB / 475.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4213, allocations: 3.938 kB / 475.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.4213, allocations: 1.078 kB / 475.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.4214, allocations: 143.3 kB / 475.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4214, allocations: 4 kB / 475.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.4215, allocations: 13.42 kB / 475.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4215, allocations: 0 / 475.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.4215, allocations: 0 / 475.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4215, allocations: 7.891 kB / 475.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4215, allocations: 0.8438 kB / 475.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.128e-05/0.4216, allocations: 169.7 kB / 475.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.4217, allocations: 92.34 kB / 475.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4217, allocations: 3.953 kB / 475.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.4218, allocations: 5.078 kB / 475.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.4218, allocations: 1.266 kB / 475.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.4218, allocations: 7.938 kB / 475.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.157e-05/0.4219, allocations: 104.5 kB / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4219, allocations: 0 / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.4221, allocations: 4 kB / 475.6 MB, free: 11.13 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.678e-05/0.4222, allocations: 95.12 kB / 475.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.286e-05/0.4223, allocations: 16.78 kB / 475.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4223, allocations: 0 / 475.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.4223, allocations: 12.19 kB / 475.7 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.4225, allocations: 16.31 kB / 475.8 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.4227, allocations: 94.34 kB / 475.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.4229, allocations: 0.6897 MB / 476.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.598e-05/0.4229, allocations: 5.5 kB / 476.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.4229, allocations: 7.438 kB / 476.5 MB, free: 10.17 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4229, allocations: 0 / 476.5 MB, free: 10.17 MB / 346.7 MB Notification: Performance of Templates: time 0.00242/0.4254, allocations: 410.4 kB / 476.9 MB, free: 9.957 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches