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.0008235/0.0008236, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009746/0.0009747, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002237/0.0002238, allocations: 7.984 kB / 307.8 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08753/0.08777, allocations: 51.52 MB / 359.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001654/0.08946, allocations: 1.196 MB / 360.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.08975, allocations: 95.73 kB / 360.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.08983, allocations: 4 kB / 360.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.08986, allocations: 3.938 kB / 360.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.889e-05/0.0899, allocations: 0 / 360.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.09013, allocations: 19.98 kB / 360.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.994e-05/0.09021, allocations: 31.84 kB / 360.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.0903, allocations: 8 kB / 360.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.685e-05/0.09033, allocations: 4 kB / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.09037, allocations: 11.92 kB / 360.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.0904, allocations: 4 kB / 360.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-06/0.09041, allocations: 0 / 360.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.09043, allocations: 7.938 kB / 360.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.09048, allocations: 37.64 kB / 360.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.887e-05/0.09055, allocations: 27.88 kB / 360.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.09056, allocations: 7.938 kB / 360.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09057, allocations: 0 / 360.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.09058, allocations: 0 / 360.8 MB, free: 11.75 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.0003484/0.09093, allocations: 339.7 kB / 361.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.09098, allocations: 8.031 kB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.09102, allocations: 38.75 kB / 361.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.09105, allocations: 8.844 kB / 361.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.0912, allocations: 168.4 kB / 361.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.09122, allocations: 384 / 361.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.09123, allocations: 8.375 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.09154, allocations: 119.8 kB / 361.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.09156, allocations: 3.938 kB / 361.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.09157, allocations: 3.938 kB / 361.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.09158, allocations: 4 kB / 361.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.09166, allocations: 23.92 kB / 361.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.0918, allocations: 157.6 kB / 361.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.09196, allocations: 62.55 kB / 361.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.09203, allocations: 28.92 kB / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.09205, allocations: 4 kB / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.09208, allocations: 34.56 kB / 361.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.09209, allocations: 0 / 361.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002104/0.0923, allocations: 77.55 kB / 361.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.09235, allocations: 59.41 kB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.09242, allocations: 105.8 kB / 362 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.09244, allocations: 25.7 kB / 362.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.09248, allocations: 84.14 kB / 362.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.704e-06/0.09249, allocations: 4 kB / 362.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.09252, allocations: 17.7 kB / 362.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.09261, allocations: 310.8 kB / 362.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.09262, allocations: 0 / 362.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.09265, allocations: 27.44 kB / 362.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/0.0927, allocations: 43.36 kB / 362.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0927, allocations: 0 / 362.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.648e-05/0.09278, allocations: 53.58 kB / 362.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.09281, allocations: 15.92 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.09282, allocations: 0 / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.09283, allocations: 128 / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-05/0.09289, allocations: 12 kB / 362.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.0929, allocations: 0 / 362.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.09292, allocations: 7.844 kB / 362.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.09293, allocations: 4 kB / 362.6 MB, free: 9.664 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 6.143e-05/0.093, allocations: 113.8 kB / 362.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.09311, allocations: 69.55 kB / 362.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.09315, allocations: 11.91 kB / 362.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.09315, allocations: 0 / 362.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.09316, allocations: 3.938 kB / 362.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.09317, allocations: 4 kB / 362.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.82e-05/0.09327, allocations: 150 kB / 363 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.09327, allocations: 7.938 kB / 363 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.09333, allocations: 7.984 kB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.09334, allocations: 7.938 kB / 363 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.09335, allocations: 0 / 363 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.09335, allocations: 0 / 363 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.09336, allocations: 0 / 363 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.09349, allocations: 97 kB / 363.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.09353, allocations: 81.05 kB / 363.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.09355, allocations: 7.938 kB / 363.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.267e-05/0.09358, allocations: 0 / 363.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-06/0.09359, allocations: 3.984 kB / 363.2 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.0936, allocations: 8 kB / 363.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.609e-05/0.09364, allocations: 87.53 kB / 363.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09365, allocations: 0 / 363.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001766/0.09383, allocations: 4 kB / 363.3 MB, free: 8.902 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.0003463/0.09418, allocations: 0.6241 MB / 363.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.358e-05/0.09428, allocations: 27.92 kB / 363.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.09429, allocations: 0 / 363.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.0943, allocations: 0 / 363.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.09451, allocations: 24.02 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/0.09532, allocations: 1.157 MB / 365.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.0955, allocations: 0.6809 MB / 365.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.492e-05/0.09552, allocations: 8.25 kB / 365.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.09556, allocations: 15.38 kB / 365.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09557, allocations: 96 / 365.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009287/0.1049, allocations: 1.039 MB / 366.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/0.1051, allocations: 217.4 kB / 367.1 MB, free: 5.055 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/1.668, allocations: 0 / 367.1 MB, free: 5.055 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