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.00139/0.00139, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 60.09 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3451, allocations: 50.54 MB / 408.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.00384/0.349, allocations: 1.857 MB / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3508, allocations: 0.7632 MB / 411.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.3511, allocations: 4 kB / 411.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.3514, allocations: 23.73 kB / 411.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.3516, allocations: 23.8 kB / 411.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007945/0.3524, allocations: 167.4 kB / 411.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.3527, allocations: 159.5 kB / 411.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.3529, allocations: 53.52 kB / 411.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.3531, allocations: 75.69 kB / 411.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.3533, allocations: 59.7 kB / 411.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.3533, allocations: 12 kB / 411.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3535, allocations: 51.97 kB / 412 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.753e-05/0.3536, allocations: 47.77 kB / 412 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.3537, allocations: 71.59 kB / 412.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.354, allocations: 203.3 kB / 412.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.354, allocations: 0 / 412.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.354, allocations: 0 / 412.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.354, allocations: 0 / 412.3 MB, free: 14.1 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.0008187/0.3549, allocations: 484.5 kB / 412.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3549, allocations: 12.03 kB / 412.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.355, allocations: 38.69 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.3552, allocations: 28.73 kB / 412.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.3556, allocations: 244 kB / 413.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3556, allocations: 12.56 kB / 413.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.3556, allocations: 15.88 kB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007099/0.3564, allocations: 328.5 kB / 413.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3564, allocations: 0 / 413.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.3564, allocations: 4 kB / 413.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3564, allocations: 0 / 413.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.3567, allocations: 83.94 kB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.3571, allocations: 349.4 kB / 413.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.3577, allocations: 258.6 kB / 414.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.3579, allocations: 112.4 kB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007366/0.3586, allocations: 0.5817 MB / 414.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.3587, allocations: 34.56 kB / 414.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 2.865e-06/0.3587, allocations: 4 kB / 414.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006245/0.3593, allocations: 241.1 kB / 415.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/0.3594, allocations: 114.8 kB / 415.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.3597, allocations: 195.2 kB / 415.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3597, allocations: 25.7 kB / 415.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.3598, allocations: 120.6 kB / 415.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.3598, allocations: 19.8 kB / 415.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.3599, allocations: 33.72 kB / 415.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.36, allocations: 330.8 kB / 415.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.3601, allocations: 39.97 kB / 416 MB, free: 10.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.3603, allocations: 164.5 kB / 416.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.3605, allocations: 208.1 kB / 416.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3605, allocations: 0 / 416.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003246/0.3608, allocations: 217.3 kB / 416.5 MB, free: 9.34 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3609, allocations: 8 kB / 416.5 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3609, allocations: 4 kB / 416.5 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3609, allocations: 4 kB / 416.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.361, allocations: 43.92 kB / 416.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3611, allocations: 11.92 kB / 416.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3612, allocations: 15.91 kB / 416.6 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.3612, allocations: 8.281 kB / 416.6 MB, free: 9.246 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.0001369/0.3613, allocations: 169.6 kB / 416.8 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.3616, allocations: 161.2 kB / 416.9 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.362, allocations: 186.5 kB / 417.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.362, allocations: 4 kB / 417.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.362, allocations: 0 / 417.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3621, allocations: 0 / 417.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.3623, allocations: 233.4 kB / 417.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3623, allocations: 0 / 417.4 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3624, allocations: 31.97 kB / 417.4 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.3625, allocations: 8 kB / 417.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3625, allocations: 4 kB / 417.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3625, allocations: 0 / 417.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3625, allocations: 7.938 kB / 417.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.3629, allocations: 292 kB / 417.7 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.3631, allocations: 112.8 kB / 417.8 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.3631, allocations: 11.98 kB / 417.8 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3633, allocations: 4 kB / 417.8 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.3633, allocations: 11.92 kB / 417.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3633, allocations: 8 kB / 417.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.3635, allocations: 147 kB / 418 MB, free: 7.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3635, allocations: 0 / 418 MB, free: 7.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.3638, allocations: 32 kB / 418 MB, free: 7.738 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.0008876/0.3647, allocations: 0.9122 MB / 418.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.365, allocations: 151.5 kB / 419.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.365, allocations: 3.938 kB / 419.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.3651, allocations: 19.98 kB / 419.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.3657, allocations: 141.7 kB / 419.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.3681, allocations: 2.166 MB / 421.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3684, allocations: 0.732 MB / 422.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.508e-05/0.3685, allocations: 17.64 kB / 422.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.3686, allocations: 43.42 kB / 422.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3686, allocations: 0 / 422.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.3918, allocations: 4.358 MB / 426.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.702, allocations: 6.188 kB / 426.6 MB, free: 15.09 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