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.001748/0.001748, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002537/0.002537, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.497/1.497, allocations: 230.3 MB / 258 MB, free: 8.254 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: 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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.89 kB / 378.7 MB, free: 2.902 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2921, allocations: 53.37 MB / 432.1 MB, free: 7.105 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004627/0.2967, allocations: 2.728 MB / 434.8 MB, free: 4.367 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001898/0.2986, allocations: 0.966 MB / 435.8 MB, free: 3.398 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.2989, allocations: 11.88 kB / 435.8 MB, free: 3.387 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.2991, allocations: 59.39 kB / 435.9 MB, free: 3.328 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.2994, allocations: 67.39 kB / 435.9 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.3001, allocations: 243.4 kB / 436.2 MB, free: 3.023 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004595/0.3006, allocations: 382.9 kB / 436.5 MB, free: 2.648 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.3009, allocations: 137.4 kB / 436.7 MB, free: 2.512 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.3011, allocations: 147.4 kB / 436.8 MB, free: 2.367 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.3013, allocations: 151.2 kB / 437 MB, free: 2.219 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.3013, allocations: 32 kB / 437 MB, free: 2.188 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.3015, allocations: 63.97 kB / 437.1 MB, free: 2.125 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3016, allocations: 83.73 kB / 437.1 MB, free: 2.043 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000157/0.3018, allocations: 163 kB / 437.3 MB, free: 1.883 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005476/0.3023, allocations: 415.8 kB / 437.7 MB, free: 1.48 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3023, allocations: 4 kB / 437.7 MB, free: 1.477 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.333e-06/0.3023, allocations: 4 kB / 437.7 MB, free: 1.473 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.605e-06/0.3023, allocations: 0 / 437.7 MB, free: 1.473 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.001135/0.3035, allocations: 0.5714 MB / 438.3 MB, free: 0.8672 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3035, allocations: 12.03 kB / 438.3 MB, free: 0.8555 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.3036, allocations: 36.7 kB / 438.3 MB, free: 0.8203 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.3041, allocations: 285.8 kB / 438.6 MB, free: 0.5156 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3041, allocations: 25.02 kB / 438.6 MB, free: 0.4922 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/0.3042, allocations: 28.38 kB / 438.7 MB, free: 476 kB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.3057, allocations: 0.7408 MB / 439.4 MB, free: 15.7 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.3057, allocations: 4 kB / 439.4 MB, free: 15.69 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.3057, allocations: 12 kB / 439.4 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.3057, allocations: 8 kB / 439.4 MB, free: 15.67 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.3063, allocations: 211.8 kB / 439.6 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/0.3073, allocations: 0.715 MB / 440.4 MB, free: 14.69 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.3083, allocations: 456.5 kB / 440.8 MB, free: 14.2 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.3088, allocations: 247.9 kB / 441 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.000444/0.3093, allocations: 79.62 kB / 441.1 MB, free: 13.87 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.3093, allocations: 46.56 kB / 441.2 MB, free: 13.82 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=52): time 1.884e-06/0.3093, allocations: 0 / 441.2 MB, free: 13.82 MB / 350.1 MB
Notification: Performance of matching and sorting (n=52): time 0.001281/0.3106, allocations: 0.5248 MB / 441.7 MB, free: 13.29 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.3108, allocations: 211.9 kB / 441.9 MB, free: 13.04 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.3111, allocations: 245.9 kB / 442.1 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.3111, allocations: 41.64 kB / 442.2 MB, free: 12.74 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3112, allocations: 157 kB / 442.3 MB, free: 12.58 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/0.3113, allocations: 51.66 kB / 442.4 MB, free: 12.53 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3114, allocations: 86.22 kB / 442.5 MB, free: 12.44 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001576/0.3115, allocations: 346.8 kB / 442.8 MB, free: 12.09 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.3117, allocations: 80.95 kB / 442.9 MB, free: 12.02 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.3122, allocations: 434.1 kB / 443.3 MB, free: 11.42 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/0.3129, allocations: 0.5203 MB / 443.8 MB, free: 10.74 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3129, allocations: 8 kB / 443.8 MB, free: 10.73 MB / 350.1 MB
Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008035/0.3137, allocations: 0.4934 MB / 444.3 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.3137, allocations: 10.5 kB / 444.3 MB, free: 10.22 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.3137, allocations: 15.98 kB / 444.4 MB, free: 10.21 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/0.3138, allocations: 16 kB / 444.4 MB, free: 10.19 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.3141, allocations: 119.8 kB / 444.5 MB, free: 10.07 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-05/0.3141, allocations: 27.86 kB / 444.5 MB, free: 10.05 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.3144, allocations: 56.16 kB / 444.6 MB, free: 9.992 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.3144, allocations: 32 kB / 444.6 MB, free: 9.961 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.0002168/0.3146, allocations: 180.6 kB / 444.8 MB, free: 9.777 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006712/0.3153, allocations: 354 kB / 445.1 MB, free: 9.426 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007211/0.316, allocations: 356.7 kB / 445.5 MB, free: 9.066 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.316, allocations: 8 kB / 445.5 MB, free: 9.059 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.316, allocations: 0 / 445.5 MB, free: 9.059 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.3161, allocations: 0 / 445.5 MB, free: 9.059 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.3165, allocations: 316.2 kB / 445.8 MB, free: 8.707 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.3165, allocations: 0 / 445.8 MB, free: 8.707 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.3169, allocations: 103.8 kB / 445.9 MB, free: 8.605 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3169, allocations: 4 kB / 445.9 MB, free: 8.602 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.3169, allocations: 16 kB / 445.9 MB, free: 8.586 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.3169, allocations: 7.984 kB / 445.9 MB, free: 8.578 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3169, allocations: 0 / 445.9 MB, free: 8.578 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.3183, allocations: 0.7747 MB / 446.7 MB, free: 7.781 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.3184, allocations: 47.66 kB / 446.7 MB, free: 7.734 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.3184, allocations: 16.14 kB / 446.8 MB, free: 7.719 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.3187, allocations: 23.97 kB / 446.8 MB, free: 7.695 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3187, allocations: 8.047 kB / 446.8 MB, free: 7.688 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.3188, allocations: 23.98 kB / 446.8 MB, free: 7.664 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001879/0.3189, allocations: 181.2 kB / 447 MB, free: 7.488 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3189, allocations: 0 / 447 MB, free: 7.488 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0005553/0.3195, allocations: 79.89 kB / 447.1 MB, free: 7.41 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.0002077/0.3197, allocations: 119.2 kB / 447.2 MB, free: 7.285 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.000831/0.3205, allocations: 353.6 kB / 447.5 MB, free: 6.941 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3205, allocations: 4.062 kB / 447.5 MB, free: 6.938 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3206, allocations: 31.91 kB / 447.6 MB, free: 6.906 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.3218, allocations: 294.4 kB / 447.8 MB, free: 6.617 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.3235, allocations: 0.7557 MB / 448.6 MB, free: 5.824 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.3241, allocations: 0.812 MB / 449.4 MB, free: 4.984 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001392/0.3243, allocations: 35.28 kB / 449.4 MB, free: 4.945 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.3243, allocations: 35.42 kB / 449.5 MB, free: 4.91 MB / 350.1 MB
Notification: Performance of SimCode: time 5.62e-07/0.3243, allocations: 0 / 449.5 MB, free: 4.91 MB / 350.1 MB
Notification: Performance of Templates: time 0.01088/0.3352, allocations: 4.98 MB / 454.5 MB, free: 15.96 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660]
(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 & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480]
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: 4.854484640061855]