Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001964/0.001964, 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.00167/0.00167, 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous")
translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [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.002117/0.002117, allocations: 64.77 kB / 379 MB, free: 2.688 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2921, allocations: 53.38 MB / 432.4 MB, free: 6.984 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003472/0.2956, allocations: 1.899 MB / 434.3 MB, free: 5.082 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001003/0.2966, allocations: 0.4909 MB / 434.8 MB, free: 4.586 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.2967, allocations: 7.938 kB / 434.8 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000116/0.2968, allocations: 15.8 kB / 434.8 MB, free: 4.562 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.017e-05/0.2969, allocations: 19.8 kB / 434.8 MB, free: 4.543 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.2971, allocations: 31.97 kB / 434.9 MB, free: 4.512 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002024/0.2973, allocations: 103.6 kB / 435 MB, free: 4.41 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.2974, allocations: 37.56 kB / 435 MB, free: 4.367 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.2975, allocations: 43.84 kB / 435 MB, free: 4.324 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.2976, allocations: 43.78 kB / 435.1 MB, free: 4.281 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.2976, allocations: 8 kB / 435.1 MB, free: 4.273 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.084e-05/0.2976, allocations: 8 kB / 435.1 MB, free: 4.266 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.2977, allocations: 19.92 kB / 435.1 MB, free: 4.246 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.2977, allocations: 43.75 kB / 435.2 MB, free: 4.203 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.2979, allocations: 101.2 kB / 435.3 MB, free: 4.109 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2979, allocations: 0 / 435.3 MB, free: 4.109 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.623e-06/0.2979, allocations: 7.938 kB / 435.3 MB, free: 4.102 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.225e-05/0.298, allocations: 0 / 435.3 MB, free: 4.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: 21
 * Number of variables: 21
Notification: Performance of Generate backend data structure: time 0.0006519/0.2986, allocations: 334.1 kB / 435.6 MB, free: 3.746 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2987, allocations: 8.031 kB / 435.6 MB, free: 3.738 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.2987, allocations: 12.89 kB / 435.6 MB, free: 3.727 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.299, allocations: 138.3 kB / 435.7 MB, free: 3.566 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.299, allocations: 8.562 kB / 435.8 MB, free: 3.559 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.299, allocations: 12.38 kB / 435.8 MB, free: 3.547 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.2993, allocations: 120.9 kB / 435.9 MB, free: 3.418 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2993, allocations: 7.938 kB / 435.9 MB, free: 3.41 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.2994, allocations: 7.984 kB / 435.9 MB, free: 3.402 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2994, allocations: 0 / 435.9 MB, free: 3.402 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.2996, allocations: 67.95 kB / 436 MB, free: 3.336 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007352/0.3003, allocations: 474.8 kB / 436.4 MB, free: 2.82 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3006, allocations: 78.48 kB / 436.5 MB, free: 2.734 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.3007, allocations: 40.83 kB / 436.5 MB, free: 2.691 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3007, allocations: 7.984 kB / 436.6 MB, free: 2.684 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3007, allocations: 30.56 kB / 436.6 MB, free: 2.645 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3007, allocations: 0 / 436.6 MB, free: 2.645 MB / 334.1 MB
Notification: Performance of matching and sorting (n=7): time 0.0004051/0.3011, allocations: 121.8 kB / 436.7 MB, free: 2.52 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3012, allocations: 55.41 kB / 436.8 MB, free: 2.453 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.3013, allocations: 136.5 kB / 436.9 MB, free: 2.312 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3013, allocations: 33.7 kB / 436.9 MB, free: 2.273 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.3014, allocations: 108 kB / 437 MB, free: 2.164 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3014, allocations: 31.89 kB / 437.1 MB, free: 2.133 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.3015, allocations: 29.7 kB / 437.1 MB, free: 2.098 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001767/0.3017, allocations: 318.8 kB / 437.4 MB, free: 1.777 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3018, allocations: 35.97 kB / 437.4 MB, free: 1.742 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3019, allocations: 68.27 kB / 437.5 MB, free: 1.66 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.3021, allocations: 100.2 kB / 437.6 MB, free: 1.547 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3021, allocations: 4 kB / 437.6 MB, free: 1.543 MB / 334.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002932/0.3024, allocations: 137.4 kB / 437.7 MB, free: 1.402 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3024, allocations: 4 kB / 437.7 MB, free: 1.398 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3024, allocations: 4 kB / 437.7 MB, free: 1.395 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3025, allocations: 0 / 437.7 MB, free: 1.395 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.3026, allocations: 39.92 kB / 437.8 MB, free: 1.355 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3026, allocations: 4.125 kB / 437.8 MB, free: 1.352 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.3027, allocations: 15.94 kB / 437.8 MB, free: 1.336 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.3027, allocations: 4.312 kB / 437.8 MB, free: 1.332 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (13):
 * Single equations (assignments): 13
 * 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.0001091/0.3028, allocations: 125.7 kB / 437.9 MB, free: 1.199 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.3029, allocations: 7.953 kB / 437.9 MB, free: 1.191 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.3029, allocations: 16.36 kB / 438 MB, free: 1.172 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3029, allocations: 0 / 438 MB, free: 1.172 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3029, allocations: 0 / 438 MB, free: 1.172 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3029, allocations: 0 / 438 MB, free: 1.172 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.3031, allocations: 172.6 kB / 438.1 MB, free: 0.9609 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3031, allocations: 3.984 kB / 438.1 MB, free: 0.957 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.3033, allocations: 19.98 kB / 438.1 MB, free: 0.9375 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3033, allocations: 4 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3033, allocations: 0 / 438.1 MB, free: 0.9336 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3033, allocations: 3.938 kB / 438.2 MB, free: 0.9297 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3033, allocations: 0 / 438.2 MB, free: 0.9297 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.3037, allocations: 251.2 kB / 438.4 MB, free: 0.668 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.3037, allocations: 7.953 kB / 438.4 MB, free: 0.6602 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3037, allocations: 0 / 438.4 MB, free: 0.6602 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.3038, allocations: 8.031 kB / 438.4 MB, free: 0.6523 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.3039, allocations: 11.98 kB / 438.4 MB, free: 0.6406 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3039, allocations: 0 / 438.4 MB, free: 0.6406 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.744e-05/0.3039, allocations: 95.27 kB / 438.5 MB, free: 0.5469 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3039, allocations: 0 / 438.5 MB, free: 0.5469 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002637/0.3042, allocations: 24 kB / 438.5 MB, free: 0.5234 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (load.phi,load.w,PI.x)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 7
 * 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 Backend phase and start with SimCode phase: time 9.632e-05/0.3043, allocations: 95.25 kB / 438.6 MB, free: 432 kB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002725/0.3046, allocations: 71.89 kB / 438.7 MB, free: 360 kB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3046, allocations: 288 / 438.7 MB, free: 360 kB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3047, allocations: 40.16 kB / 438.7 MB, free: 320 kB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.305, allocations: 31.8 kB / 438.8 MB, free: 288 kB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/0.3057, allocations: 364.9 kB / 439.1 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.3061, allocations: 0.7049 MB / 439.8 MB, free: 15.16 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.116e-05/0.3061, allocations: 8.422 kB / 439.8 MB, free: 15.15 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.3062, allocations: 11.44 kB / 439.9 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of SimCode: time 3e-07/0.3062, allocations: 0 / 439.9 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of Templates: time 0.004109/0.3103, allocations: 1.057 MB / 440.9 MB, free: 14.09 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.496621829457581]