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.001168/0.001168, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 59.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3824, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003427/0.3859, allocations: 1.472 MB / 410.2 MB, free: 60 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003994/0.3863, allocations: 95.72 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.3865, allocations: 3.938 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.781e-05/0.3865, allocations: 8 kB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.3866, allocations: 3.938 kB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.387, allocations: 31.55 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.3871, allocations: 31.84 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3872, allocations: 4 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.127e-05/0.3873, allocations: 11.98 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.3874, allocations: 11.94 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.3874, allocations: 4 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.3874, allocations: 0 / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.3874, allocations: 3.938 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.3875, allocations: 19.92 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.3876, allocations: 27.89 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.3877, allocations: 4 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3877, allocations: 0 / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.3877, allocations: 0 / 410.5 MB, free: 15.8 MB / 334.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.0006794/0.3884, allocations: 333.2 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.802e-05/0.3885, allocations: 12.03 kB / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.3885, allocations: 34.73 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.3886, allocations: 12.84 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.3889, allocations: 180.2 kB / 411 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3889, allocations: 4.312 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.389, allocations: 4.375 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.3894, allocations: 103.9 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3894, allocations: 3.938 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3894, allocations: 4 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3894, allocations: 0 / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.3895, allocations: 19.98 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.3897, allocations: 157.7 kB / 411.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.3899, allocations: 50.55 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.39, allocations: 28.88 kB / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.39, allocations: 0 / 411.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.3901, allocations: 46.48 kB / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3901, allocations: 0 / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002735/0.3903, allocations: 77.5 kB / 411.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.3904, allocations: 51.41 kB / 411.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.034e-05/0.3905, allocations: 101.9 kB / 411.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.3905, allocations: 37.69 kB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.3906, allocations: 80.14 kB / 411.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/0.3906, allocations: 7.938 kB / 411.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.3907, allocations: 13.72 kB / 411.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.3909, allocations: 314.8 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.3909, allocations: 7.984 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.391, allocations: 23.44 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.505e-05/0.391, allocations: 39.38 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.391, allocations: 0 / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.646e-05/0.3911, allocations: 53.62 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3911, allocations: 12.06 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3912, allocations: 4 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3912, allocations: 0 / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.3912, allocations: 8 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3913, allocations: 0 / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.3913, allocations: 3.938 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3913, allocations: 7.984 kB / 412.3 MB, free: 13.74 MB / 334.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 0.0001081/0.3914, allocations: 113.8 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.3915, allocations: 61.53 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.3916, allocations: 11.91 kB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3916, allocations: 3.938 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3916, allocations: 0 / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3916, allocations: 3.984 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.3917, allocations: 153.7 kB / 412.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.3918, allocations: 4 kB / 412.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.3918, allocations: 4 kB / 412.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3918, allocations: 3.938 kB / 412.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3918, allocations: 4 kB / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.3919, allocations: 7.969 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3919, allocations: 7.938 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.392, allocations: 77.12 kB / 412.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.3921, allocations: 88.94 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.3921, allocations: 3.938 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.3921, allocations: 4.25 kB / 412.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-06/0.3921, allocations: 0 / 412.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3922, allocations: 8 kB / 412.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.568e-05/0.3922, allocations: 83.28 kB / 412.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3922, allocations: 3.938 kB / 412.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002025/0.3924, allocations: 4 kB / 412.9 MB, free: 12.98 MB / 334.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.000511/0.3929, allocations: 0.6241 MB / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.3931, allocations: 27.98 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3931, allocations: 3.938 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.3931, allocations: 0 / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.3933, allocations: 16.42 kB / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.3944, allocations: 1.166 MB / 414.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.3948, allocations: 0.6807 MB / 415.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.964e-05/0.3948, allocations: 256 / 415.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.3948, allocations: 15.42 kB / 415.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3948, allocations: 0 / 415.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.4169, allocations: 1.255 MB / 416.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.456, allocations: 11.11 kB / 416.7 MB, free: 9.145 MB / 334.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