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.001752/0.001753, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 60.97 kB / 306.6 MB, free: 0.8633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 50.53 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004538/0.1107, allocations: 2.716 MB / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.113, allocations: 0.9349 MB / 360.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004868/0.1135, allocations: 11.94 kB / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.114, allocations: 43.58 kB / 360.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.1144, allocations: 39.72 kB / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008196/0.1152, allocations: 223.4 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.1157, allocations: 378.9 kB / 361.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.1161, allocations: 196.7 kB / 361.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.1163, allocations: 139.4 kB / 361.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.1166, allocations: 155.2 kB / 361.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.37e-05/0.1167, allocations: 32 kB / 361.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.1168, allocations: 63.97 kB / 362 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.117, allocations: 83.73 kB / 362.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000197/0.1172, allocations: 159 kB / 362.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.1177, allocations: 402.9 kB / 362.6 MB, free: 8.766 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1178, allocations: 3.984 kB / 362.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1178, allocations: 0 / 362.6 MB, free: 8.762 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.1178, allocations: 0 / 362.6 MB, free: 8.762 MB / 302.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.001382/0.1192, allocations: 0.6456 MB / 363.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1192, allocations: 8.031 kB / 363.3 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.56e-05/0.1193, allocations: 58.73 kB / 363.3 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.1195, allocations: 40.47 kB / 363.4 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.1199, allocations: 323.9 kB / 363.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.1199, allocations: 24.94 kB / 363.7 MB, free: 7.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.12, allocations: 32.12 kB / 363.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.1215, allocations: 0.7403 MB / 364.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.1215, allocations: 0 / 364.5 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.1215, allocations: 12 kB / 364.5 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1216, allocations: 8 kB / 364.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.1221, allocations: 215.8 kB / 364.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009126/0.123, allocations: 0.78 MB / 365.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1241, allocations: 0.626 MB / 366.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.1246, allocations: 271.3 kB / 366.4 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007239/0.1254, allocations: 0.5895 MB / 367 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.1254, allocations: 46.34 kB / 367 MB, free: 3.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.104e-06/0.1254, allocations: 0 / 367 MB, free: 3.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=52): time 0.001243/0.1267, allocations: 0.5172 MB / 367.5 MB, free: 3.406 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.1268, allocations: 216 kB / 367.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.1271, allocations: 246.6 kB / 368 MB, free: 2.902 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.1272, allocations: 37.7 kB / 368 MB, free: 2.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1273, allocations: 156.7 kB / 368.2 MB, free: 2.703 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.1273, allocations: 47.58 kB / 368.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.1275, allocations: 82.25 kB / 368.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1276, allocations: 346.7 kB / 368.6 MB, free: 2.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.1278, allocations: 93.06 kB / 368.7 MB, free: 2.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004028/0.1282, allocations: 427 kB / 369.2 MB, free: 1.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/0.1289, allocations: 0.5281 MB / 369.7 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.1289, allocations: 4 kB / 369.7 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00084/0.1297, allocations: 0.4975 MB / 370.2 MB, free: 356 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1298, allocations: 8 kB / 370.2 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.1298, allocations: 12.11 kB / 370.2 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.1298, allocations: 19.94 kB / 370.2 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.1302, allocations: 123.8 kB / 370.3 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/0.1302, allocations: 23.92 kB / 370.4 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.1305, allocations: 47.67 kB / 370.4 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.1305, allocations: 28 kB / 370.4 MB, free: 92 kB / 302.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.1903/0.3208, allocations: 201 kB / 370.6 MB, free: 20.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008082/0.3217, allocations: 342.2 kB / 371 MB, free: 20.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/0.3224, allocations: 358.2 kB / 371.3 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.3225, allocations: 4.844 kB / 371.3 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3225, allocations: 1.594 kB / 371.3 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.3225, allocations: 4.719 kB / 371.3 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.3229, allocations: 344.4 kB / 371.7 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.323, allocations: 3.859 kB / 371.7 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.3234, allocations: 103.5 kB / 371.8 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.3234, allocations: 2.438 kB / 371.8 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.3234, allocations: 8.625 kB / 371.8 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.3235, allocations: 3.734 kB / 371.8 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3235, allocations: 5.312 kB / 371.8 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.3249, allocations: 0.7774 MB / 372.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.972e-05/0.325, allocations: 117.1 kB / 372.7 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.3251, allocations: 21.78 kB / 372.7 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.3253, allocations: 22.39 kB / 372.7 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.3254, allocations: 12 kB / 372.7 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.3255, allocations: 17.11 kB / 372.8 MB, free: 19.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.3257, allocations: 180.9 kB / 372.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3257, allocations: 3.156 kB / 372.9 MB, free: 19.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005988/0.3263, allocations: 78.62 kB / 373 MB, free: 19.43 MB / 302.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.001656/0.3279, allocations: 1.339 MB / 374.3 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.3291, allocations: 387.8 kB / 374.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3291, allocations: 2.312 kB / 374.7 MB, free: 18.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3292, allocations: 27.73 kB / 374.8 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.3304, allocations: 308.9 kB / 375.1 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/0.3355, allocations: 3.952 MB / 379 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.336, allocations: 0.8133 MB / 379.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.3362, allocations: 38.08 kB / 379.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.3364, allocations: 114.7 kB / 380 MB, free: 14.31 MB / 302.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3364, allocations: 0 / 380 MB, free: 14.31 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.3616, allocations: 7.768 MB / 387.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.3618, allocations: 238.4 kB / 388 MB, free: 12.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/2.463, allocations: 3.5 kB / 388 MB, free: 12.15 MB / 302.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