Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108 kB / 16.92 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 46.58 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09801/0.09917, allocations: 49.44 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003091/0.1023, allocations: 1.46 MB / 351.6 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002972/0.1026, allocations: 109.1 kB / 351.7 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.435e-05/0.1027, allocations: 0 / 351.7 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.1028, allocations: 0 / 351.7 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.1028, allocations: 3.938 kB / 351.7 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1031, allocations: 21.67 kB / 351.8 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.907e-05/0.1032, allocations: 39.84 kB / 351.8 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1033, allocations: 8 kB / 351.8 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.1034, allocations: 4 kB / 351.8 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.1034, allocations: 15.92 kB / 351.8 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1034, allocations: 0 / 351.8 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.1035, allocations: 8 kB / 351.8 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.1035, allocations: 7.938 kB / 351.8 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.1035, allocations: 11.94 kB / 351.8 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.648e-05/0.1036, allocations: 23.89 kB / 351.9 MB, free: 2.609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1036, allocations: 7.984 kB / 351.9 MB, free: 2.602 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1036, allocations: 0 / 351.9 MB, free: 2.602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1036, allocations: 0 / 351.9 MB, free: 2.602 MB / 286.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.0004003/0.104, allocations: 335.7 kB / 352.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1041, allocations: 8.031 kB / 352.2 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.1041, allocations: 42.75 kB / 352.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.1042, allocations: 8.781 kB / 352.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.1044, allocations: 172.3 kB / 352.4 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1044, allocations: 8.375 kB / 352.4 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1044, allocations: 384 / 352.4 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.1047, allocations: 111.8 kB / 352.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1047, allocations: 3.938 kB / 352.6 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1048, allocations: 4 kB / 352.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1048, allocations: 4 kB / 352.6 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.344e-05/0.1048, allocations: 15.92 kB / 352.6 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.105, allocations: 157.7 kB / 352.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1051, allocations: 58.48 kB / 352.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.1052, allocations: 24.92 kB / 352.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1052, allocations: 4 kB / 352.8 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1053, allocations: 34.56 kB / 352.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1053, allocations: 0 / 352.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002184/0.1055, allocations: 65.61 kB / 352.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1055, allocations: 59.41 kB / 353 MB, free: 1.309 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.1056, allocations: 105.8 kB / 353.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1057, allocations: 33.64 kB / 353.1 MB, free: 1.156 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.1057, allocations: 84.14 kB / 353.2 MB, free: 1.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-06/0.1057, allocations: 3.984 kB / 353.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.1057, allocations: 13.72 kB / 353.2 MB, free: 1.047 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1058, allocations: 314.8 kB / 353.5 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.1059, allocations: 4 kB / 353.5 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.1059, allocations: 31.42 kB / 353.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.804e-05/0.1059, allocations: 31.38 kB / 353.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1059, allocations: 0 / 353.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.142e-05/0.106, allocations: 65.56 kB / 353.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1061, allocations: 11.94 kB / 353.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1061, allocations: 0 / 353.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1061, allocations: 0 / 353.7 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.1061, allocations: 8 kB / 353.7 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1061, allocations: 3.938 kB / 353.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.1062, allocations: 7.938 kB / 353.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.1062, allocations: 256 / 353.7 MB, free: 0.5391 MB / 286.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 6.766e-05/0.1063, allocations: 109.8 kB / 353.8 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.1064, allocations: 65.7 kB / 353.9 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.1064, allocations: 3.906 kB / 353.9 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1064, allocations: 4 kB / 353.9 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1064, allocations: 4 kB / 353.9 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1064, allocations: 0 / 353.9 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.966e-05/0.1065, allocations: 157.7 kB / 354 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1065, allocations: 3.938 kB / 354 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.1066, allocations: 8 kB / 354 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1066, allocations: 7.875 kB / 354 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1066, allocations: 4 kB / 354 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1066, allocations: 7.938 kB / 354 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1066, allocations: 0 / 354 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.1068, allocations: 89.39 kB / 354.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.1068, allocations: 77.11 kB / 354.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1068, allocations: 7.984 kB / 354.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.48e-05/0.1069, allocations: 7.922 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-06/0.1069, allocations: 0 / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.1069, allocations: 4 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.304e-05/0.1069, allocations: 87.28 kB / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.107, allocations: 0 / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001837/0.1071, allocations: 4 kB / 354.3 MB, free: 15.79 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.0003831/0.1075, allocations: 0.624 MB / 354.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.1077, allocations: 27.92 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1077, allocations: 0 / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.1077, allocations: 0 / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.1079, allocations: 23.98 kB / 355 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009103/0.1088, allocations: 1.162 MB / 356.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.109, allocations: 0.6806 MB / 356.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.362e-05/0.1091, allocations: 4 kB / 356.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.1091, allocations: 11.44 kB / 356.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1091, allocations: 4 kB / 356.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09001/0.1991, allocations: 1.227 MB / 358.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.1, allocations: 7.812 kB / 358.1 MB, free: 11.96 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches