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.001344/0.001344, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001599/0.001599, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.645/1.645, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001994/0.001994, allocations: 60.14 kB / 377.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.301, allocations: 53.41 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004333/0.3053, allocations: 2.561 MB / 433.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.3071, allocations: 0.8998 MB / 434.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.3073, allocations: 11.94 kB / 434.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.3075, allocations: 67.31 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.3078, allocations: 67.45 kB / 434.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008511/0.3086, allocations: 234.5 kB / 435 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.3091, allocations: 382.9 kB / 435.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.3094, allocations: 133.3 kB / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3095, allocations: 143.4 kB / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.3097, allocations: 131.3 kB / 435.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.3098, allocations: 28 kB / 435.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.3099, allocations: 75.94 kB / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.31, allocations: 83.64 kB / 435.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3102, allocations: 127.3 kB / 436 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005224/0.3107, allocations: 427.8 kB / 436.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3107, allocations: 3.938 kB / 436.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3107, allocations: 4 kB / 436.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3107, allocations: 0 / 436.5 MB, free: 1.102 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.001012/0.3117, allocations: 0.5714 MB / 437 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3118, allocations: 8.031 kB / 437 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.24e-05/0.3118, allocations: 66.73 kB / 437.1 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.3119, allocations: 44.69 kB / 437.1 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.3124, allocations: 270 kB / 437.4 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.3124, allocations: 21.03 kB / 437.4 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.3125, allocations: 28.12 kB / 437.5 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.3139, allocations: 0.7988 MB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3139, allocations: 0 / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.314, allocations: 15.94 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.314, allocations: 8 kB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.3145, allocations: 215.8 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008792/0.3154, allocations: 0.6604 MB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3165, allocations: 448.4 kB / 439.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.317, allocations: 252.4 kB / 439.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004314/0.3174, allocations: 67.72 kB / 439.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.3174, allocations: 42.56 kB / 439.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.104e-06/0.3174, allocations: 0 / 439.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001235/0.3187, allocations: 0.5205 MB / 440.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.3188, allocations: 209 kB / 440.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3191, allocations: 249.9 kB / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3191, allocations: 33.7 kB / 440.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3192, allocations: 157 kB / 441.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.3193, allocations: 47.72 kB / 441.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3194, allocations: 86.3 kB / 441.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3196, allocations: 350.7 kB / 441.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.3197, allocations: 84.94 kB / 441.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.3202, allocations: 489.5 kB / 442.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006696/0.3209, allocations: 0.5285 MB / 442.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3209, allocations: 8 kB / 442.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008071/0.3217, allocations: 0.4933 MB / 443.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.3217, allocations: 12 kB / 443.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.3218, allocations: 12 kB / 443.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.3218, allocations: 16 kB / 443.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.3221, allocations: 119.8 kB / 443.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/0.3221, allocations: 20.44 kB / 443.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.3224, allocations: 55.77 kB / 443.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.3224, allocations: 28 kB / 443.4 MB, free: 9.48 MB / 350.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.0002189/0.3227, allocations: 204.5 kB / 443.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006489/0.3233, allocations: 341 kB / 444 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007031/0.324, allocations: 356.8 kB / 444.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.324, allocations: 8 kB / 444.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.324, allocations: 0 / 444.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.324, allocations: 3.984 kB / 444.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.3245, allocations: 264.3 kB / 444.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.3245, allocations: 0 / 444.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/0.3249, allocations: 103.9 kB / 444.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.3249, allocations: 4 kB / 444.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.3249, allocations: 11.94 kB / 444.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3249, allocations: 7.938 kB / 444.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.3249, allocations: 7.938 kB / 444.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.3263, allocations: 0.767 MB / 445.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.3263, allocations: 43.73 kB / 445.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.3264, allocations: 20.05 kB / 445.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.3266, allocations: 23.98 kB / 445.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.3267, allocations: 11.92 kB / 445.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.3267, allocations: 12 kB / 445.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.3269, allocations: 185.2 kB / 445.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3269, allocations: 0 / 445.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005287/0.3274, allocations: 79.89 kB / 445.8 MB, free: 6.969 MB / 350.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.001787/0.3292, allocations: 1.351 MB / 447.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008094/0.33, allocations: 349.6 kB / 447.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.33, allocations: 0 / 447.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3302, allocations: 32.03 kB / 447.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.3312, allocations: 306.5 kB / 447.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/0.3365, allocations: 3.814 MB / 451.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.3367, allocations: 206.5 kB / 451.9 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.3368, allocations: 35.28 kB / 451.9 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.337, allocations: 115.4 kB / 452 MB, free: 312 kB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.337, allocations: 0 / 452 MB, free: 312 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.3788, allocations: 9.03 MB / 461.1 MB, free: 7.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.05, allocations: 10.66 kB / 461.1 MB, free: 7.434 MB / 366.1 MB " [Timeout remaining time 648] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.055465513840318]