Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001402/0.001402, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001543/0.001543, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 68.77 kB / 379 MB, free: 2.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2763, allocations: 53.37 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.00398/0.2803, allocations: 2.724 MB / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.2818, allocations: 0.9582 MB / 436.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.282, allocations: 15.88 kB / 436.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.2822, allocations: 63.38 kB / 436.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.2824, allocations: 63.45 kB / 436.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.2831, allocations: 246.6 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.2835, allocations: 390.9 kB / 436.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.2838, allocations: 137.4 kB / 437 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.284, allocations: 143.4 kB / 437.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.2842, allocations: 143.2 kB / 437.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.847e-05/0.2842, allocations: 32 kB / 437.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.2843, allocations: 75.89 kB / 437.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2844, allocations: 79.75 kB / 437.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.2846, allocations: 163.1 kB / 437.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.2851, allocations: 419.7 kB / 438 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2851, allocations: 0 / 438 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2851, allocations: 4 kB / 438 MB, free: 1.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.2851, allocations: 0 / 438 MB, free: 1.332 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.001051/0.2861, allocations: 0.5753 MB / 438.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2862, allocations: 8.031 kB / 438.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.059e-05/0.2863, allocations: 40.7 kB / 438.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.2867, allocations: 281.8 kB / 438.9 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.2867, allocations: 21.03 kB / 438.9 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.2868, allocations: 24.38 kB / 439 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.2881, allocations: 0.7448 MB / 439.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.2882, allocations: 0 / 439.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.2882, allocations: 16 kB / 439.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.2882, allocations: 8 kB / 439.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005392/0.2887, allocations: 211.8 kB / 439.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.2897, allocations: 0.7034 MB / 440.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2907, allocations: 465.4 kB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.2911, allocations: 251.8 kB / 441.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/0.2915, allocations: 83.62 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.2916, allocations: 38.56 kB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 1.774e-06/0.2916, allocations: 0 / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=52): time 0.001159/0.2927, allocations: 0.5245 MB / 442 MB, free: 13.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.2929, allocations: 211.9 kB / 442.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.2932, allocations: 249.9 kB / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.2932, allocations: 33.81 kB / 442.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2933, allocations: 152.8 kB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.2934, allocations: 55.72 kB / 442.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.2935, allocations: 82.19 kB / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2936, allocations: 346.8 kB / 443.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.2938, allocations: 92.88 kB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.2942, allocations: 430.1 kB / 443.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.2948, allocations: 0.5203 MB / 444.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.2949, allocations: 8 kB / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007749/0.2956, allocations: 0.4935 MB / 444.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.2957, allocations: 12 kB / 444.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.2957, allocations: 12 kB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.2957, allocations: 16 kB / 444.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.296, allocations: 119.8 kB / 444.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.296, allocations: 19.92 kB / 444.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.2963, allocations: 56.06 kB / 444.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.2963, allocations: 32 kB / 444.9 MB, free: 9.836 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.0001954/0.2965, allocations: 193.9 kB / 445.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006099/0.2971, allocations: 350 kB / 445.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000664/0.2978, allocations: 356.8 kB / 445.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.2978, allocations: 4 kB / 445.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2978, allocations: 4 kB / 445.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2978, allocations: 3.984 kB / 445.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.2982, allocations: 312.2 kB / 446.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.2982, allocations: 0 / 446.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.2985, allocations: 103.8 kB / 446.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2986, allocations: 4 kB / 446.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.2986, allocations: 15.98 kB / 446.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2986, allocations: 7.984 kB / 446.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2986, allocations: 4 kB / 446.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.2998, allocations: 0.7747 MB / 447 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.2999, allocations: 43.61 kB / 447 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.2999, allocations: 15.98 kB / 447 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.3002, allocations: 27.98 kB / 447.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3002, allocations: 7.922 kB / 447.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.3002, allocations: 20.06 kB / 447.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.3004, allocations: 185.2 kB / 447.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3004, allocations: 0 / 447.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004804/0.3009, allocations: 75.89 kB / 447.3 MB, free: 7.273 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.0001723/0.301, allocations: 119.2 kB / 447.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007127/0.3018, allocations: 345.4 kB / 447.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3018, allocations: 256 / 447.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.482e-05/0.3019, allocations: 35.91 kB / 447.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009816/0.3028, allocations: 295.2 kB / 448.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3042, allocations: 0.7592 MB / 448.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.3046, allocations: 0.8081 MB / 449.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.3047, allocations: 43.2 kB / 449.7 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.3048, allocations: 31.44 kB / 449.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3048, allocations: 0 / 449.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of Templates: time 0.009677/0.3144, allocations: 4.984 MB / 454.8 MB, free: 15.85 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 4.622235751710832]