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.001845/0.001845, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.88 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2824, allocations: 50.55 MB / 408.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003235/0.2857, allocations: 1.864 MB / 410.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.287, allocations: 0.7478 MB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.2871, allocations: 7.938 kB / 411.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.2873, allocations: 15.8 kB / 411.5 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.2874, allocations: 31.72 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.288, allocations: 171.3 kB / 411.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.2882, allocations: 159.5 kB / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2883, allocations: 57.52 kB / 411.9 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2885, allocations: 67.7 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.2886, allocations: 55.7 kB / 412 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.2887, allocations: 12 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.2888, allocations: 55.95 kB / 412.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.2889, allocations: 47.78 kB / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.289, allocations: 71.53 kB / 412.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.2893, allocations: 210.1 kB / 412.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2893, allocations: 4 kB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2893, allocations: 0 / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.2893, allocations: 0 / 412.4 MB, free: 13.92 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.0007309/0.29, allocations: 474.8 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2901, allocations: 8.031 kB / 412.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.2901, allocations: 46.73 kB / 412.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.2903, allocations: 32.72 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.2906, allocations: 252.1 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2907, allocations: 8.562 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.2907, allocations: 11.94 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006825/0.2914, allocations: 332 kB / 413.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2914, allocations: 0 / 413.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.2914, allocations: 7.938 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2914, allocations: 4 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.2917, allocations: 83.94 kB / 413.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.2921, allocations: 341.5 kB / 414 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.2926, allocations: 270.1 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.2929, allocations: 100.7 kB / 414.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006542/0.2935, allocations: 0.5859 MB / 414.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2936, allocations: 34.5 kB / 414.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.2936, allocations: 4 kB / 414.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.00061/0.2942, allocations: 241.2 kB / 415.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.2943, allocations: 118.9 kB / 415.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.2945, allocations: 191.2 kB / 415.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.2945, allocations: 37.69 kB / 415.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.2946, allocations: 100.6 kB / 415.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.2946, allocations: 19.89 kB / 415.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.2947, allocations: 37.7 kB / 415.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2948, allocations: 326.8 kB / 416 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.2949, allocations: 39.97 kB / 416 MB, free: 9.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.2951, allocations: 173.1 kB / 416.2 MB, free: 9.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.2954, allocations: 192.1 kB / 416.4 MB, free: 9.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2954, allocations: 4 kB / 416.4 MB, free: 9.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003452/0.2958, allocations: 221.1 kB / 416.6 MB, free: 9.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2958, allocations: 7.938 kB / 416.6 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.2958, allocations: 4 kB / 416.6 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.2958, allocations: 12.58 kB / 416.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.296, allocations: 43.91 kB / 416.7 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.296, allocations: 11.94 kB / 416.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.2961, allocations: 19.89 kB / 416.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.2961, allocations: 12 kB / 416.7 MB, free: 9.055 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.0001508/0.2963, allocations: 152.8 kB / 416.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/0.2966, allocations: 165.4 kB / 417 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.297, allocations: 194.1 kB / 417.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.297, allocations: 0 / 417.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2971, allocations: 0 / 417.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2971, allocations: 0 / 417.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.2973, allocations: 245.4 kB / 417.5 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.2973, allocations: 0 / 417.5 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.2975, allocations: 27.98 kB / 417.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2975, allocations: 3.984 kB / 417.5 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2975, allocations: 4 kB / 417.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2975, allocations: 0 / 417.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2975, allocations: 4 kB / 417.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.298, allocations: 288.1 kB / 417.8 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.2981, allocations: 112.9 kB / 417.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.2981, allocations: 8 kB / 417.9 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2982, allocations: 19.98 kB / 417.9 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.2983, allocations: 0 / 417.9 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.2983, allocations: 4 kB / 417.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.2984, allocations: 151 kB / 418.1 MB, free: 7.594 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2984, allocations: 0 / 418.1 MB, free: 7.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.2988, allocations: 28 kB / 418.1 MB, free: 7.566 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.001002/0.2998, allocations: 0.9188 MB / 419 MB, free: 6.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.3001, allocations: 152.5 kB / 419.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3001, allocations: 0 / 419.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.3002, allocations: 7.938 kB / 419.2 MB, free: 6.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/0.3008, allocations: 149.5 kB / 419.3 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.3032, allocations: 2.178 MB / 421.5 MB, free: 3.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.3036, allocations: 0.7281 MB / 422.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.284e-05/0.3037, allocations: 21.62 kB / 422.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.239e-05/0.3038, allocations: 47.42 kB / 422.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3038, allocations: 0 / 422.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.3291, allocations: 4.266 MB / 426.6 MB, free: 15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.845/9.174, allocations: 8.641 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.1.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