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.001342/0.001342, 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.001397/0.001397, 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.532/1.532, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 63.89 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2744, allocations: 50.55 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004255/0.2787, allocations: 2.695 MB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.2804, allocations: 0.9349 MB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.2807, allocations: 11.94 kB / 412.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.2809, allocations: 59.33 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.2811, allocations: 59.5 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000741/0.2819, allocations: 250.9 kB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.2823, allocations: 378.9 kB / 413.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.2827, allocations: 188.8 kB / 413.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.2828, allocations: 139.4 kB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.283, allocations: 151.2 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.2831, allocations: 28 kB / 413.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.2832, allocations: 67.97 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.2834, allocations: 83.69 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.2836, allocations: 163.1 kB / 414 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.2841, allocations: 429.1 kB / 414.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2841, allocations: 0 / 414.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2841, allocations: 0 / 414.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2841, allocations: 0 / 414.4 MB, free: 11.86 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.001099/0.2852, allocations: 0.6543 MB / 415.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2853, allocations: 12.03 kB / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.408e-05/0.2854, allocations: 66.72 kB / 415.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.833e-05/0.2855, allocations: 40.7 kB / 415.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.2859, allocations: 336.1 kB / 415.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/0.286, allocations: 24.92 kB / 415.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.286, allocations: 32.12 kB / 415.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.2875, allocations: 0.7326 MB / 416.3 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.2875, allocations: 3.984 kB / 416.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.2876, allocations: 12 kB / 416.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.2876, allocations: 11.94 kB / 416.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.2882, allocations: 211.8 kB / 416.5 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009855/0.2892, allocations: 0.7722 MB / 417.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.2904, allocations: 0.6225 MB / 417.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.2909, allocations: 259.3 kB / 418.2 MB, free: 7.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007695/0.2917, allocations: 0.5971 MB / 418.8 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.2918, allocations: 50.48 kB / 418.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.214e-06/0.2918, allocations: 0 / 418.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001337/0.2931, allocations: 0.5244 MB / 419.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/0.2933, allocations: 207.9 kB / 419.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.2936, allocations: 250.6 kB / 419.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.2936, allocations: 37.7 kB / 419.8 MB, free: 5.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.2938, allocations: 157 kB / 420 MB, free: 5.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.2938, allocations: 55.75 kB / 420 MB, free: 5.719 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.294, allocations: 82.27 kB / 420.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.2942, allocations: 342.8 kB / 420.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.2944, allocations: 85.06 kB / 420.5 MB, free: 5.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/0.2949, allocations: 438.9 kB / 421 MB, free: 4.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007017/0.2956, allocations: 0.5281 MB / 421.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.2956, allocations: 4 kB / 421.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008687/0.2965, allocations: 0.4892 MB / 422 MB, free: 3.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.2965, allocations: 12 kB / 422 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.2965, allocations: 12 kB / 422 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.2966, allocations: 12.81 kB / 422 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.2969, allocations: 131.7 kB / 422.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.308e-05/0.297, allocations: 23.92 kB / 422.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.2972, allocations: 47.73 kB / 422.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.2973, allocations: 28 kB / 422.2 MB, free: 3.152 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.000269/0.2975, allocations: 193.5 kB / 422.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007018/0.2983, allocations: 346.2 kB / 422.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000761/0.299, allocations: 360.7 kB / 423.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.299, allocations: 4 kB / 423.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2991, allocations: 480 / 423.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2991, allocations: 4 kB / 423.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.2995, allocations: 345.1 kB / 423.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.2995, allocations: 4 kB / 423.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.3, allocations: 103.9 kB / 423.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3, allocations: 0 / 423.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.3, allocations: 12 kB / 423.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.3, allocations: 8 kB / 423.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.3, allocations: 3.984 kB / 423.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.3014, allocations: 0.7825 MB / 424.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.3015, allocations: 116.7 kB / 424.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.3016, allocations: 16 kB / 424.5 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.3019, allocations: 32.03 kB / 424.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.3019, allocations: 4 kB / 424.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.302, allocations: 12 kB / 424.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.3022, allocations: 186 kB / 424.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3022, allocations: 4 kB / 424.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005459/0.3027, allocations: 75.89 kB / 424.8 MB, free: 480 kB / 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.001845/0.3046, allocations: 1.344 MB / 426.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008138/0.3054, allocations: 356.1 kB / 426.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3054, allocations: 3.938 kB / 426.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3055, allocations: 25.61 kB / 426.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.3066, allocations: 311 kB / 426.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.3119, allocations: 3.826 MB / 430.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.3125, allocations: 0.812 MB / 431.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.3126, allocations: 39.22 kB / 431.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.3129, allocations: 115.4 kB / 431.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3129, allocations: 0 / 431.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/0.4595, allocations: 8.054 MB / 439.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.327/9.787, allocations: 11.66 kB / 439.7 MB, free: 1.285 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.1.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