Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 190.3 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 51.92 kB / 370.9 MB, free: 9.363 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.244, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.004195/0.2482, allocations: 2.73 MB / 425.8 MB, free: 11.95 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001768/0.25, allocations: 0.9225 MB / 426.7 MB, free: 11.03 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.2502, allocations: 15.88 kB / 426.8 MB, free: 11.01 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.2505, allocations: 71.25 kB / 426.8 MB, free: 10.94 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000268/0.2508, allocations: 55.52 kB / 426.9 MB, free: 10.89 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008496/0.2516, allocations: 243.4 kB / 427.1 MB, free: 10.65 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004896/0.2521, allocations: 375 kB / 427.5 MB, free: 10.28 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.2524, allocations: 145.3 kB / 427.6 MB, free: 10.14 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.2526, allocations: 139.4 kB / 427.8 MB, free: 10 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.2528, allocations: 147.2 kB / 427.9 MB, free: 9.855 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.2529, allocations: 32 kB / 427.9 MB, free: 9.824 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.253, allocations: 79.89 kB / 428 MB, free: 9.746 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.2532, allocations: 79.69 kB / 428.1 MB, free: 9.668 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000171/0.2533, allocations: 159.1 kB / 428.3 MB, free: 9.512 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005863/0.2539, allocations: 423.4 kB / 428.7 MB, free: 9.102 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2539, allocations: 3.938 kB / 428.7 MB, free: 9.098 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.903e-06/0.2539, allocations: 0 / 428.7 MB, free: 9.098 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.193e-06/0.2539, allocations: 0 / 428.7 MB, free: 9.098 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.001125/0.255, allocations: 0.5675 MB / 429.2 MB, free: 8.496 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2551, allocations: 12.03 kB / 429.3 MB, free: 8.484 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.2552, allocations: 40.66 kB / 429.3 MB, free: 8.445 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.2557, allocations: 274 kB / 429.6 MB, free: 8.156 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.2557, allocations: 21.03 kB / 429.6 MB, free: 8.137 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.2557, allocations: 32.38 kB / 429.6 MB, free: 8.105 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.2573, allocations: 0.741 MB / 430.4 MB, free: 7.332 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.2573, allocations: 3.938 kB / 430.4 MB, free: 7.328 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.2573, allocations: 16 kB / 430.4 MB, free: 7.312 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.2573, allocations: 11.94 kB / 430.4 MB, free: 7.301 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/0.2579, allocations: 215.8 kB / 430.6 MB, free: 7.09 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009555/0.2589, allocations: 0.7073 MB / 431.3 MB, free: 6.32 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.2599, allocations: 460.4 kB / 431.8 MB, free: 5.832 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004834/0.2604, allocations: 251.7 kB / 432 MB, free: 5.574 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004495/0.2609, allocations: 63.86 kB / 432.1 MB, free: 5.512 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.2609, allocations: 50.5 kB / 432.1 MB, free: 5.453 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=52): time 2.074e-06/0.2609, allocations: 0 / 432.1 MB, free: 5.453 MB / 334.1 MB
Notification: Performance of matching and sorting (n=52): time 0.001299/0.2622, allocations: 0.517 MB / 432.6 MB, free: 4.93 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/0.2624, allocations: 223.8 kB / 432.8 MB, free: 4.668 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.2627, allocations: 253.8 kB / 433.1 MB, free: 4.414 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.2627, allocations: 33.7 kB / 433.1 MB, free: 4.375 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.2628, allocations: 152.9 kB / 433.3 MB, free: 4.223 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.2629, allocations: 47.72 kB / 433.3 MB, free: 4.176 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.263, allocations: 82.19 kB / 433.4 MB, free: 4.09 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001612/0.2632, allocations: 346.9 kB / 433.7 MB, free: 3.742 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.2634, allocations: 92.88 kB / 433.8 MB, free: 3.648 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.2638, allocations: 438 kB / 434.3 MB, free: 3.055 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.2645, allocations: 0.5242 MB / 434.8 MB, free: 2.367 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2645, allocations: 4 kB / 434.8 MB, free: 2.363 MB / 334.1 MB
Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008094/0.2653, allocations: 0.4976 MB / 435.3 MB, free: 1.859 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.2653, allocations: 8 kB / 435.3 MB, free: 1.852 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.2653, allocations: 12 kB / 435.3 MB, free: 1.84 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.2654, allocations: 16 kB / 435.3 MB, free: 1.824 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.2657, allocations: 119.8 kB / 435.4 MB, free: 1.707 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.2657, allocations: 23.92 kB / 435.5 MB, free: 1.684 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.266, allocations: 51.72 kB / 435.5 MB, free: 1.633 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.266, allocations: 32 kB / 435.5 MB, free: 1.602 MB / 334.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.0002225/0.2662, allocations: 193.6 kB / 435.7 MB, free: 1.402 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006693/0.2669, allocations: 342.2 kB / 436.1 MB, free: 1.062 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007234/0.2676, allocations: 364.4 kB / 436.4 MB, free: 0.6953 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.2676, allocations: 12 kB / 436.4 MB, free: 0.6836 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2676, allocations: 0 / 436.4 MB, free: 0.6836 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.2676, allocations: 3.984 kB / 436.4 MB, free: 0.6797 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.268, allocations: 308.3 kB / 436.7 MB, free: 344 kB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.2681, allocations: 0 / 436.7 MB, free: 344 kB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/0.2685, allocations: 99.88 kB / 436.8 MB, free: 244 kB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.2685, allocations: 4 kB / 436.8 MB, free: 240 kB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.2685, allocations: 11.98 kB / 436.9 MB, free: 228 kB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.2685, allocations: 4 kB / 436.9 MB, free: 224 kB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2685, allocations: 0 / 436.9 MB, free: 224 kB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.2698, allocations: 0.7826 MB / 437.6 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.2699, allocations: 43.67 kB / 437.7 MB, free: 15.37 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.2699, allocations: 19.98 kB / 437.7 MB, free: 15.35 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.2702, allocations: 23.98 kB / 437.7 MB, free: 15.32 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.2702, allocations: 7.984 kB / 437.7 MB, free: 15.32 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.2703, allocations: 20.03 kB / 437.8 MB, free: 15.3 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001831/0.2704, allocations: 185.3 kB / 437.9 MB, free: 15.11 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.2704, allocations: 0 / 437.9 MB, free: 15.11 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004972/0.2709, allocations: 79.94 kB / 438 MB, free: 15.04 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.0001743/0.2711, allocations: 131 kB / 438.1 MB, free: 14.9 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007145/0.2718, allocations: 345 kB / 438.5 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2718, allocations: 4 kB / 438.5 MB, free: 14.56 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.2719, allocations: 32.59 kB / 438.5 MB, free: 14.53 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.273, allocations: 290.8 kB / 438.8 MB, free: 14.24 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.2744, allocations: 0.7522 MB / 439.5 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.2748, allocations: 0.812 MB / 440.4 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.000103/0.2749, allocations: 39.27 kB / 440.4 MB, free: 12.57 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.275, allocations: 31.44 kB / 440.4 MB, free: 12.54 MB / 350.1 MB
Notification: Performance of SimCode: time 3.8e-07/0.275, allocations: 0 / 440.4 MB, free: 12.54 MB / 350.1 MB
Notification: Performance of Templates: time 0.009796/0.2847, allocations: 4.996 MB / 445.4 MB, free: 7.582 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.543733746744692]