Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001476, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001708, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 55.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3777, allocations: 50.54 MB / 408.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004308/0.3821, allocations: 2.684 MB / 411.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.384, allocations: 0.9426 MB / 412.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.3842, allocations: 11.94 kB / 412.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.3845, allocations: 59.39 kB / 412.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.3847, allocations: 67.44 kB / 412.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.3855, allocations: 235.2 kB / 412.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.386, allocations: 382.9 kB / 413.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003635/0.3864, allocations: 188.8 kB / 413.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.3866, allocations: 139.4 kB / 413.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.3868, allocations: 155.2 kB / 413.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.3868, allocations: 32 kB / 413.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.387, allocations: 67.97 kB / 413.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.3871, allocations: 79.73 kB / 413.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.3873, allocations: 163 kB / 413.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005846/0.3879, allocations: 420.2 kB / 414.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3879, allocations: 0 / 414.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3879, allocations: 0 / 414.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.3879, allocations: 4 kB / 414.3 MB, free: 12.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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001255/0.3892, allocations: 0.6352 MB / 415 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3892, allocations: 12.03 kB / 415 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.319e-05/0.3893, allocations: 66.72 kB / 415 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.494e-05/0.3894, allocations: 40.47 kB / 415.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005887/0.39, allocations: 327.9 kB / 415.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.39, allocations: 24.94 kB / 415.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.3901, allocations: 36.11 kB / 415.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.3915, allocations: 0.7365 MB / 416.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.3915, allocations: 3.984 kB / 416.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.3916, allocations: 12 kB / 416.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3916, allocations: 8 kB / 416.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/0.3922, allocations: 222.5 kB / 416.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008333/0.393, allocations: 0.776 MB / 417.2 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.3941, allocations: 0.6185 MB / 417.8 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000465/0.3946, allocations: 267.3 kB / 418.1 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007247/0.3954, allocations: 0.5893 MB / 418.7 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3954, allocations: 54.48 kB / 418.7 MB, free: 7.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.275e-06/0.3954, allocations: 0 / 418.7 MB, free: 7.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001256/0.3967, allocations: 0.5135 MB / 419.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.3968, allocations: 219.9 kB / 419.5 MB, free: 6.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.3971, allocations: 250.6 kB / 419.7 MB, free: 6.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.3972, allocations: 33.7 kB / 419.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.3973, allocations: 148.9 kB / 419.9 MB, free: 6.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.3973, allocations: 55.55 kB / 419.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.3974, allocations: 82.17 kB / 420 MB, free: 5.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3976, allocations: 346.8 kB / 420.4 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.3978, allocations: 89.06 kB / 420.4 MB, free: 5.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.3982, allocations: 435 kB / 420.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/0.3988, allocations: 0.5281 MB / 421.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.3989, allocations: 4 kB / 421.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000791/0.3997, allocations: 494 kB / 421.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.3997, allocations: 12 kB / 421.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.3997, allocations: 12.05 kB / 421.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.3997, allocations: 23.92 kB / 421.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.4001, allocations: 115.8 kB / 422 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.4001, allocations: 27.86 kB / 422.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.4004, allocations: 51.59 kB / 422.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.4004, allocations: 28 kB / 422.1 MB, free: 3.418 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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: 4 (PI.x,sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0002338/0.4007, allocations: 201.5 kB / 422.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006874/0.4014, allocations: 338 kB / 422.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007455/0.4021, allocations: 356.7 kB / 423 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4021, allocations: 11.98 kB / 423 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4022, allocations: 4 kB / 423 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4022, allocations: 0 / 423 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.4026, allocations: 349 kB / 423.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.4026, allocations: 4 kB / 423.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.4031, allocations: 99.88 kB / 423.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4031, allocations: 4 kB / 423.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.4031, allocations: 4 kB / 423.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4031, allocations: 4 kB / 423.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4031, allocations: 0 / 423.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.4044, allocations: 0.7862 MB / 424.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.4046, allocations: 120.6 kB / 424.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.4046, allocations: 12 kB / 424.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.4049, allocations: 31.91 kB / 424.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.4049, allocations: 4 kB / 424.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.405, allocations: 20 kB / 424.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.4052, allocations: 182 kB / 424.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4052, allocations: 4.062 kB / 424.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005589/0.4058, allocations: 75.91 kB / 424.7 MB, free: 0.7344 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * 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: 4 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3],PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.001796/0.4076, allocations: 1.347 MB / 426.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008411/0.4084, allocations: 353.6 kB / 426.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4085, allocations: 4.062 kB / 426.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.4086, allocations: 31.91 kB / 426.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.4097, allocations: 303 kB / 426.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005193/0.4149, allocations: 3.818 MB / 430.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.4155, allocations: 0.812 MB / 431.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.4156, allocations: 35.28 kB / 431.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.4158, allocations: 115.4 kB / 431.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4159, allocations: 0 / 431.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.4484, allocations: 8.228 MB / 439.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.927/9.376, allocations: 8.219 kB / 439.8 MB, free: 1.387 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.fmu > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWith_AD_DA_Effects/ClockedWith_AD_DA_Effects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches