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.001179/0.001179, 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.001457/0.001458, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3067, allocations: 50.55 MB / 408.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004518/0.3113, allocations: 2.688 MB / 411.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.3134, allocations: 0.9388 MB / 412.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.3137, allocations: 7.938 kB / 412.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.3141, allocations: 59.33 kB / 412.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.3145, allocations: 71.44 kB / 412.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.3155, allocations: 243.4 kB / 412.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006231/0.3161, allocations: 386.9 kB / 413.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004374/0.3166, allocations: 188.8 kB / 413.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.3168, allocations: 139.4 kB / 413.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.3171, allocations: 143.2 kB / 413.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.18e-05/0.3172, allocations: 32 kB / 413.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.3174, allocations: 71.95 kB / 413.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3175, allocations: 79.7 kB / 413.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.3177, allocations: 167 kB / 413.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006094/0.3183, allocations: 420.1 kB / 414.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3183, allocations: 4 kB / 414.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3183, allocations: 0 / 414.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.3184, allocations: 0 / 414.3 MB, free: 12.05 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.001274/0.3196, allocations: 0.6352 MB / 415 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3197, allocations: 8.031 kB / 415 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.129e-05/0.3198, allocations: 70.72 kB / 415 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.086e-05/0.3199, allocations: 40.47 kB / 415.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.3204, allocations: 335.8 kB / 415.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/0.3205, allocations: 20.94 kB / 415.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.3206, allocations: 36.11 kB / 415.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.322, allocations: 0.7365 MB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.322, allocations: 3.938 kB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.322, allocations: 12 kB / 416.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.322, allocations: 4 kB / 416.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/0.3226, allocations: 223.7 kB / 416.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009429/0.3236, allocations: 0.7643 MB / 417.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3246, allocations: 0.6225 MB / 417.8 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/0.3251, allocations: 263.3 kB / 418.1 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000674/0.3258, allocations: 0.5893 MB / 418.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.3258, allocations: 50.5 kB / 418.7 MB, free: 7.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.595e-06/0.3259, allocations: 0 / 418.7 MB, free: 7.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001211/0.3271, allocations: 0.5216 MB / 419.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.3272, allocations: 215.8 kB / 419.5 MB, free: 6.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.3275, allocations: 250.6 kB / 419.7 MB, free: 6.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.3275, allocations: 33.7 kB / 419.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.3277, allocations: 152.8 kB / 419.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.3277, allocations: 51.8 kB / 419.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3278, allocations: 86.16 kB / 420 MB, free: 5.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.328, allocations: 350.7 kB / 420.4 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.3282, allocations: 85.06 kB / 420.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.3287, allocations: 438.9 kB / 420.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/0.3294, allocations: 0.5242 MB / 421.4 MB, free: 4.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3294, allocations: 4 kB / 421.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008666/0.3303, allocations: 0.4892 MB / 421.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.3303, allocations: 8 kB / 421.9 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.3303, allocations: 12 kB / 421.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.3304, allocations: 16 kB / 421.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.3307, allocations: 120.4 kB / 422 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.3307, allocations: 23.92 kB / 422.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.331, allocations: 55.58 kB / 422.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.3311, allocations: 32 kB / 422.1 MB, free: 3.367 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.0002288/0.3313, allocations: 193.4 kB / 422.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006255/0.3319, allocations: 334 kB / 422.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007284/0.3327, allocations: 364.7 kB / 423 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.3327, allocations: 8 kB / 423 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3327, allocations: 0 / 423 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.3327, allocations: 7.984 kB / 423 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.3331, allocations: 349 kB / 423.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.3331, allocations: 0 / 423.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.3335, allocations: 99.88 kB / 423.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.3336, allocations: 8 kB / 423.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.3336, allocations: 11.98 kB / 423.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3336, allocations: 4 kB / 423.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3336, allocations: 3.938 kB / 423.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.3349, allocations: 0.7745 MB / 424.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.589e-05/0.335, allocations: 116.6 kB / 424.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.024e-05/0.335, allocations: 19.98 kB / 424.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.3353, allocations: 24.05 kB / 424.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.3353, allocations: 12.08 kB / 424.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.3354, allocations: 12 kB / 424.5 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.3356, allocations: 178 kB / 424.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3356, allocations: 0 / 424.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005548/0.3361, allocations: 79.91 kB / 424.7 MB, free: 0.6953 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.001632/0.3378, allocations: 1.343 MB / 426.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007829/0.3386, allocations: 364.6 kB / 426.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3386, allocations: 0 / 426.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.3387, allocations: 27.98 kB / 426.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3397, allocations: 311.6 kB / 426.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/0.3453, allocations: 3.81 MB / 430.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.3459, allocations: 0.812 MB / 431.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.3461, allocations: 43.27 kB / 431.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.3463, allocations: 111.4 kB / 431.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3463, allocations: 0 / 431.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.3788, allocations: 8.226 MB / 439.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.833/9.212, allocations: 8.219 kB / 439.7 MB, free: 1.348 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