Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009929/0.0009929, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 64.91 kB / 307.1 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.102, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002665/0.1047, allocations: 1.468 MB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002457/0.105, allocations: 97.44 kB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.105, allocations: 3.938 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.1051, allocations: 3.984 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.1051, allocations: 3.938 kB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.1054, allocations: 23.92 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.1054, allocations: 35.86 kB / 359.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.1055, allocations: 7.984 kB / 359.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.1056, allocations: 8 kB / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.066e-05/0.1056, allocations: 15.92 kB / 359.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1056, allocations: 4 kB / 359.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.1057, allocations: 4 kB / 359.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.1057, allocations: 7.922 kB / 359.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.1057, allocations: 11.94 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.336e-05/0.1058, allocations: 23.91 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1058, allocations: 4 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1058, allocations: 0 / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1058, allocations: 0 / 359.3 MB, free: 12.27 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.0003552/0.1062, allocations: 339.7 kB / 359.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1062, allocations: 12.03 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.1063, allocations: 38.75 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.1063, allocations: 4.844 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.1065, allocations: 176.2 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-06/0.1065, allocations: 4.375 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.1065, allocations: 8.312 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.1068, allocations: 111.8 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1068, allocations: 7.875 kB / 360 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.1068, allocations: 0 / 360 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.1068, allocations: 4 kB / 360 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.252e-05/0.1069, allocations: 19.97 kB / 360 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.107, allocations: 153.7 kB / 360.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1072, allocations: 58.55 kB / 360.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.1072, allocations: 24.92 kB / 360.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.1073, allocations: 3.938 kB / 360.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.1073, allocations: 30.56 kB / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1073, allocations: 0 / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001993/0.1075, allocations: 69.61 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.1075, allocations: 59.41 kB / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.1076, allocations: 101.8 kB / 360.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1076, allocations: 33.7 kB / 360.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.1077, allocations: 80.14 kB / 360.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.1077, allocations: 0 / 360.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.1077, allocations: 17.72 kB / 360.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1078, allocations: 314.8 kB / 360.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.1078, allocations: 11.94 kB / 361 MB, free: 10.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.1079, allocations: 27.44 kB / 361 MB, free: 10.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.87e-05/0.1079, allocations: 35.38 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1079, allocations: 0 / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.427e-05/0.108, allocations: 61.53 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.108, allocations: 11.94 kB / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.108, allocations: 0 / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.108, allocations: 0 / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.175e-05/0.1081, allocations: 12.23 kB / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1081, allocations: 0 / 361.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.1081, allocations: 11.94 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.1082, allocations: 0 / 361.1 MB, free: 10.2 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: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.132e-05/0.1082, allocations: 125.8 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1083, allocations: 53.62 kB / 361.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.1084, allocations: 11.89 kB / 361.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.1084, allocations: 4 kB / 361.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1084, allocations: 0 / 361.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1084, allocations: 336 / 361.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.181e-05/0.1085, allocations: 157.6 kB / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1085, allocations: 0 / 361.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.1085, allocations: 15.92 kB / 361.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1086, allocations: 3.938 kB / 361.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.1086, allocations: 4 kB / 361.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1086, allocations: 0 / 361.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1086, allocations: 3.984 kB / 361.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.1087, allocations: 88.95 kB / 361.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.1088, allocations: 77.11 kB / 361.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1088, allocations: 7.938 kB / 361.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.473e-05/0.1088, allocations: 4 kB / 361.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-06/0.1088, allocations: 4 kB / 361.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1088, allocations: 4 kB / 361.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.311e-05/0.1089, allocations: 83.27 kB / 361.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1089, allocations: 0 / 361.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001958/0.1091, allocations: 4 kB / 361.8 MB, free: 9.449 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: 0 () * Number of discrete states: 0 () * Number of clocked 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 (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.0003878/0.1095, allocations: 0.6279 MB / 362.4 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001/0.1096, allocations: 19.98 kB / 362.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1096, allocations: 4 kB / 362.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.1096, allocations: 3.938 kB / 362.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.1098, allocations: 22.69 kB / 362.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00087/0.1107, allocations: 1.15 MB / 363.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.1109, allocations: 0.6807 MB / 364.3 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.185e-05/0.1109, allocations: 4 kB / 364.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.111, allocations: 11.44 kB / 364.3 MB, free: 6.773 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.111, allocations: 4 kB / 364.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06147/0.1725, allocations: 1.224 MB / 365.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.177, allocations: 10.95 kB / 365.5 MB, free: 5.633 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches