Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001204/0.001204, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 67.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3765, allocations: 50.54 MB / 408.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.004241/0.3808, allocations: 1.854 MB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.3828, allocations: 0.7478 MB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.3831, allocations: 7.938 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.3834, allocations: 23.8 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.3837, allocations: 27.78 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008336/0.3845, allocations: 167.2 kB / 411.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.3849, allocations: 151.5 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.385, allocations: 69.48 kB / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.3852, allocations: 63.72 kB / 411.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.3854, allocations: 59.69 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.3854, allocations: 12 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.3856, allocations: 55.95 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.43e-05/0.3857, allocations: 43.78 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.3858, allocations: 71.55 kB / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.3861, allocations: 211.2 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3861, allocations: 0 / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3862, allocations: 0 / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.3862, allocations: 0 / 412.3 MB, free: 14 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009488/0.3871, allocations: 480.5 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.3872, allocations: 8.031 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.3874, allocations: 50.73 kB / 412.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.3876, allocations: 28.73 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/0.3882, allocations: 240 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3883, allocations: 8.562 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3883, allocations: 15.94 kB / 413.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008526/0.3891, allocations: 323.3 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3892, allocations: 4 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.3892, allocations: 4 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3892, allocations: 4 kB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.3895, allocations: 83.88 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.39, allocations: 341.5 kB / 413.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.3905, allocations: 274.1 kB / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.3907, allocations: 101.7 kB / 414.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007067/0.3914, allocations: 0.5856 MB / 414.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.3915, allocations: 42.78 kB / 414.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 2.154e-06/0.3915, allocations: 0 / 414.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006611/0.3922, allocations: 229.3 kB / 415.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.3923, allocations: 122.7 kB / 415.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.3925, allocations: 195.2 kB / 415.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3926, allocations: 25.7 kB / 415.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.3926, allocations: 108.5 kB / 415.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3927, allocations: 19.8 kB / 415.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/0.3928, allocations: 41.7 kB / 415.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3929, allocations: 331 kB / 415.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.263e-05/0.393, allocations: 35.97 kB / 415.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.3932, allocations: 171.1 kB / 416.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.3935, allocations: 200 kB / 416.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3935, allocations: 4 kB / 416.3 MB, free: 9.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003744/0.3939, allocations: 217 kB / 416.5 MB, free: 9.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3939, allocations: 8.531 kB / 416.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.394, allocations: 8 kB / 416.5 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.394, allocations: 8 kB / 416.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.3942, allocations: 43.91 kB / 416.6 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.3942, allocations: 7.938 kB / 416.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.3943, allocations: 19.84 kB / 416.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.3943, allocations: 12 kB / 416.6 MB, free: 9.137 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0002127/0.3946, allocations: 160.9 kB / 416.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.3949, allocations: 168.1 kB / 417 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.3953, allocations: 179.4 kB / 417.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3953, allocations: 0 / 417.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.3953, allocations: 7.984 kB / 417.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3954, allocations: 4 kB / 417.1 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.3957, allocations: 233.4 kB / 417.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.3957, allocations: 3.938 kB / 417.4 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.3958, allocations: 27.98 kB / 417.4 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3958, allocations: 4 kB / 417.4 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.3959, allocations: 7.984 kB / 417.4 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3959, allocations: 0 / 417.4 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3959, allocations: 0 / 417.4 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.3964, allocations: 288 kB / 417.7 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3965, allocations: 124.7 kB / 417.8 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.3965, allocations: 4 kB / 417.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.3967, allocations: 15.98 kB / 417.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.3967, allocations: 0 / 417.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3967, allocations: 4 kB / 417.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.3969, allocations: 147 kB / 418 MB, free: 7.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3969, allocations: 0 / 418 MB, free: 7.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.3973, allocations: 35.98 kB / 418 MB, free: 7.641 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00103/0.3983, allocations: 0.9122 MB / 418.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000397/0.3987, allocations: 155.6 kB / 419.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3987, allocations: 0 / 419.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.3988, allocations: 8 kB / 419.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006461/0.3994, allocations: 153.9 kB / 419.2 MB, free: 6.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.402, allocations: 2.174 MB / 421.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.4023, allocations: 0.732 MB / 422.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.241e-05/0.4024, allocations: 17.64 kB / 422.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4025, allocations: 47.42 kB / 422.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4025, allocations: 0 / 422.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.4234, allocations: 4.341 MB / 426.5 MB, free: 15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.59, allocations: 10.25 kB / 426.6 MB, free: 15 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches