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.001027/0.001028, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.69 kB / 307.1 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1004, allocations: 50.54 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003056/0.1035, allocations: 1.457 MB / 359 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001958/0.1038, allocations: 39.84 kB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.1038, allocations: 0 / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.1039, allocations: 3.938 kB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.1039, allocations: 3.938 kB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1042, allocations: 19.97 kB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.1043, allocations: 31.92 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.1044, allocations: 7.938 kB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.1044, allocations: 11.98 kB / 359.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.026e-05/0.1045, allocations: 15.92 kB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1045, allocations: 4 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.1045, allocations: 4 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.1045, allocations: 15.92 kB / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.1046, allocations: 11.94 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.966e-05/0.1047, allocations: 23.91 kB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1047, allocations: 0 / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1047, allocations: 0 / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1047, allocations: 0 / 359.2 MB, free: 12.37 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.0004158/0.1051, allocations: 351.7 kB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1052, allocations: 12.03 kB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.1052, allocations: 38.73 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.1052, allocations: 4.844 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.1054, allocations: 184.2 kB / 359.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.1055, allocations: 384 / 359.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1055, allocations: 8.312 kB / 359.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.1059, allocations: 115.8 kB / 359.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1059, allocations: 3.938 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1059, allocations: 11.94 kB / 359.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1059, allocations: 4 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.106, allocations: 19.97 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.1062, allocations: 157.7 kB / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1064, allocations: 62.47 kB / 360.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.1065, allocations: 28.92 kB / 360.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.1065, allocations: 4 kB / 360.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.1065, allocations: 34.56 kB / 360.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1065, allocations: 0 / 360.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002981/0.1068, allocations: 81.59 kB / 360.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1069, allocations: 51.41 kB / 360.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.107, allocations: 105.8 kB / 360.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.107, allocations: 29.64 kB / 360.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.1071, allocations: 84.14 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.1071, allocations: 4 kB / 360.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.1071, allocations: 21.72 kB / 360.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1072, allocations: 314.8 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.1073, allocations: 8 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.1073, allocations: 25.12 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.1074, allocations: 47.73 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1074, allocations: 0 / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.097e-05/0.1075, allocations: 57.55 kB / 361.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1075, allocations: 15.2 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1075, allocations: 4 kB / 361.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1075, allocations: 4 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.1076, allocations: 8.125 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1076, allocations: 11.88 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.1076, allocations: 0 / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1077, allocations: 4 kB / 361.1 MB, free: 10.23 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.077e-05/0.1077, allocations: 117.8 kB / 361.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.1079, allocations: 69.52 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.1079, allocations: 7.891 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.108, allocations: 4 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.108, allocations: 0 / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.108, allocations: 4 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1081, allocations: 153.7 kB / 361.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1081, allocations: 0 / 361.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.1082, allocations: 11.98 kB / 361.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.1082, allocations: 7.875 kB / 361.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1082, allocations: 0 / 361.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1082, allocations: 0 / 361.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1082, allocations: 0 / 361.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1084, allocations: 93.03 kB / 361.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.1085, allocations: 89.05 kB / 361.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.1085, allocations: 7.938 kB / 361.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.373e-05/0.1085, allocations: 4 kB / 361.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-06/0.1085, allocations: 0 / 361.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1085, allocations: 0 / 361.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.1086, allocations: 87.27 kB / 361.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1086, allocations: 0 / 361.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001931/0.1088, allocations: 4 kB / 361.8 MB, free: 9.473 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.00061/0.1094, allocations: 0.6633 MB / 362.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.1096, allocations: 27.92 kB / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1096, allocations: 0 / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.1096, allocations: 0 / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.11, allocations: 26.84 kB / 362.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009944/0.111, allocations: 1.189 MB / 363.7 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1112, allocations: 0.6768 MB / 364.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.208e-05/0.1112, allocations: 8.25 kB / 364.3 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.1113, allocations: 15.42 kB / 364.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1113, allocations: 0 / 364.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07388/0.1852, allocations: 1.331 MB / 365.7 MB, free: 5.477 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.131, allocations: 3.938 kB / 365.7 MB, free: 5.473 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