Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009287/0.0009285, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002408/0.0002407, allocations: 11.98 kB / 307.9 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09234, allocations: 51.51 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001923/0.09431, allocations: 1.188 MB / 360.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002703/0.09462, allocations: 31.91 kB / 360.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.172e-05/0.09473, allocations: 0 / 360.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.09477, allocations: 3.938 kB / 360.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.733e-05/0.09483, allocations: 4 kB / 360.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.09512, allocations: 19.97 kB / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.745e-05/0.09522, allocations: 27.92 kB / 360.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.09532, allocations: 8 kB / 360.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.09536, allocations: 7.938 kB / 360.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.09541, allocations: 15.92 kB / 360.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.09543, allocations: 0 / 360.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.09544, allocations: 0 / 360.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.09547, allocations: 11.92 kB / 360.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.09551, allocations: 37.62 kB / 360.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.948e-05/0.09559, allocations: 27.91 kB / 360.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.0956, allocations: 0 / 360.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09561, allocations: 0 / 360.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.09562, allocations: 0 / 360.7 MB, free: 11.81 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00034/0.09596, allocations: 343.7 kB / 361.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.09601, allocations: 12.03 kB / 361.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.09605, allocations: 30.75 kB / 361.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.09608, allocations: 12.78 kB / 361.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.09624, allocations: 180.3 kB / 361.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.09627, allocations: 8.359 kB / 361.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.09629, allocations: 8.312 kB / 361.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.09664, allocations: 119.8 kB / 361.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.09666, allocations: 3.938 kB / 361.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.09668, allocations: 0 / 361.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.09669, allocations: 0 / 361.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.09682, allocations: 31.91 kB / 361.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.097, allocations: 157.7 kB / 361.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.09718, allocations: 58.55 kB / 361.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.09727, allocations: 28.91 kB / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.09729, allocations: 0 / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.09732, allocations: 34.56 kB / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.09733, allocations: 0 / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003105/0.09764, allocations: 97.56 kB / 361.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.09772, allocations: 59.41 kB / 361.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.685e-05/0.09781, allocations: 101.8 kB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.09784, allocations: 29.7 kB / 362 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.09788, allocations: 84.14 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.09791, allocations: 0 / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.09794, allocations: 9.719 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.09806, allocations: 322.8 kB / 362.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.09808, allocations: 8 kB / 362.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.09812, allocations: 27.44 kB / 362.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.09817, allocations: 35.38 kB / 362.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.09818, allocations: 0 / 362.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001009/0.09829, allocations: 69.47 kB / 362.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.09832, allocations: 7.938 kB / 362.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.09833, allocations: 384 / 362.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.09835, allocations: 4 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.09843, allocations: 7.984 kB / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.09844, allocations: 4 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/0.09848, allocations: 11.94 kB / 362.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.0985, allocations: 4 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.179e-05/0.09859, allocations: 113.9 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.09876, allocations: 73.55 kB / 362.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.0988, allocations: 7.906 kB / 362.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.09881, allocations: 0 / 362.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.09882, allocations: 0 / 362.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.09882, allocations: 0 / 362.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.09893, allocations: 157.7 kB / 363 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.09894, allocations: 0 / 363 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.09901, allocations: 19.92 kB / 363 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.09902, allocations: 3.938 kB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.09903, allocations: 4 kB / 363 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.09904, allocations: 0 / 363 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.09905, allocations: 4 kB / 363 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.09923, allocations: 89.02 kB / 363.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.09928, allocations: 85.03 kB / 363.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.0993, allocations: 7.938 kB / 363.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.029e-05/0.09934, allocations: 3.938 kB / 363.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-06/0.09935, allocations: 4 kB / 363.2 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.09936, allocations: 4 kB / 363.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.452e-05/0.09941, allocations: 87.27 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09941, allocations: 0 / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001798/0.0996, allocations: 4 kB / 363.3 MB, free: 8.906 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005062/0.1001, allocations: 0.6515 MB / 363.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.1002, allocations: 35.91 kB / 364 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1002, allocations: 0 / 364 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.1003, allocations: 0 / 364 MB, free: 8.191 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.1005, allocations: 24.02 kB / 364 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.1014, allocations: 1.184 MB / 365.2 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1017, allocations: 0.6813 MB / 365.8 MB, free: 6.176 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.304e-05/0.1017, allocations: 7.984 kB / 365.9 MB, free: 6.168 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.1017, allocations: 11.44 kB / 365.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1017, allocations: 0 / 365.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.1122, allocations: 1.17 MB / 367 MB, free: 5.137 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.1124, allocations: 210.2 kB / 367.2 MB, free: 4.883 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/1.799, allocations: 4.062 kB / 367.2 MB, free: 4.879 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches