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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8964/0.8964, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.421e-05, allocations: 3.266 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00255/0.002565, allocations: 2.562 MB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.003592, allocations: 0.9113 MB / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.003732, allocations: 11.88 kB / 328 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.003904, allocations: 63.27 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.004099, allocations: 59.52 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.004524, allocations: 250.5 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.004801, allocations: 394.7 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.004994, allocations: 129.3 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.005155, allocations: 195.5 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.00527, allocations: 115.6 kB / 329.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.005305, allocations: 28 kB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.005387, allocations: 67.95 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.005468, allocations: 87.69 kB / 329.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.478e-05/0.005543, allocations: 103.7 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.005894, allocations: 434.5 kB / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005896, allocations: 0 / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005897, allocations: 0 / 329.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.005902, allocations: 3.938 kB / 329.9 MB, free: 10.5 MB / 298.7 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.000684/0.006586, allocations: 0.5753 MB / 330.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.006623, allocations: 8.031 kB / 330.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.006674, allocations: 66.72 kB / 330.5 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.006724, allocations: 40.7 kB / 330.5 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.007036, allocations: 273.2 kB / 330.8 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.007055, allocations: 21.03 kB / 330.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.007086, allocations: 28.38 kB / 330.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008543/0.00794, allocations: 0.7927 MB / 331.7 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.007954, allocations: 3.938 kB / 331.7 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.007975, allocations: 12 kB / 331.7 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.007983, allocations: 8 kB / 331.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.008301, allocations: 227.7 kB / 331.9 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.008862, allocations: 0.6489 MB / 332.5 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/0.00949, allocations: 461 kB / 333 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.009773, allocations: 242.9 kB / 333.2 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.01001, allocations: 67.94 kB / 333.3 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.01003, allocations: 50.42 kB / 333.4 MB, free: 6.766 MB / 298.7 MB Notification: Performance of pre-optimization done (n=52): time 1.673e-06/0.01004, allocations: 0 / 333.4 MB, free: 6.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007255/0.01076, allocations: 0.5206 MB / 333.9 MB, free: 6.238 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.948e-05/0.01085, allocations: 213 kB / 334.1 MB, free: 5.988 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.01102, allocations: 250 kB / 334.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.01104, allocations: 37.64 kB / 334.4 MB, free: 5.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.01112, allocations: 152.9 kB / 334.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.01115, allocations: 35.72 kB / 334.5 MB, free: 5.504 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.01119, allocations: 37.7 kB / 334.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.01127, allocations: 330.8 kB / 334.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.01134, allocations: 47.95 kB / 335 MB, free: 5.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.01146, allocations: 193.9 kB / 335.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.01163, allocations: 165.3 kB / 335.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01163, allocations: 0 / 335.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002184/0.01185, allocations: 205.2 kB / 335.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01187, allocations: 12.25 kB / 335.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01187, allocations: 4 kB / 335.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01189, allocations: 4 kB / 335.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.01197, allocations: 35.98 kB / 335.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.01198, allocations: 7.922 kB / 335.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/0.01205, allocations: 23.89 kB / 335.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.01206, allocations: 4.422 kB / 335.6 MB, free: 4.352 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (18): * Single equations (assignments): 18 * 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.0001302/0.01219, allocations: 165.8 kB / 335.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/0.01257, allocations: 353 kB / 336.1 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005131/0.01309, allocations: 352.7 kB / 336.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.01309, allocations: 8 kB / 336.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.0131, allocations: 0 / 336.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.0131, allocations: 3.938 kB / 336.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.01335, allocations: 260.4 kB / 336.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.01336, allocations: 7.984 kB / 336.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.01358, allocations: 99.88 kB / 336.8 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.01359, allocations: 7.938 kB / 336.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.01361, allocations: 12 kB / 336.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01362, allocations: 4 kB / 336.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01362, allocations: 0 / 336.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.01444, allocations: 0.7766 MB / 337.6 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.01449, allocations: 43.7 kB / 337.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.01453, allocations: 15.94 kB / 337.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.01466, allocations: 31.91 kB / 337.7 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.01469, allocations: 4 kB / 337.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.01471, allocations: 19.98 kB / 337.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.01483, allocations: 181.3 kB / 337.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01483, allocations: 0 / 337.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000253/0.01508, allocations: 59.95 kB / 338 MB, free: 1.891 MB / 298.7 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.001042/0.01613, allocations: 1.353 MB / 339.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.01648, allocations: 223.2 kB / 339.5 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01648, allocations: 0 / 339.5 MB, free: 296 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.01653, allocations: 32.53 kB / 339.6 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.01719, allocations: 295.3 kB / 339.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.01958, allocations: 2.794 MB / 342.7 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.01971, allocations: 201.8 kB / 342.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.01976, allocations: 26.97 kB / 342.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.01987, allocations: 104.5 kB / 343 MB, free: 12.65 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01987, allocations: 3.938 kB / 343 MB, free: 12.65 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.04162, allocations: 8.696 MB / 351.7 MB, free: 4.109 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.817, allocations: 4.062 kB / 351.7 MB, free: 4.105 MB / 314.7 MB " [Timeout remaining time 653] (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 --stepSize=0.0009802 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.541034672409296]