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.001665/0.001665, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002148/0.002148, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.494/1.494, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.002083/0.002083, allocations: 71.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2991, allocations: 53.31 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00343/0.3025, allocations: 1.903 MB / 433.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008964/0.3034, allocations: 498.8 kB / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.3035, allocations: 0 / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.3036, allocations: 15.86 kB / 434.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.3037, allocations: 23.77 kB / 434.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.3038, allocations: 35.97 kB / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.304, allocations: 107.6 kB / 434.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3041, allocations: 25.39 kB / 434.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.3042, allocations: 43.78 kB / 434.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.3043, allocations: 43.78 kB / 434.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.3043, allocations: 8 kB / 434.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.832e-05/0.3043, allocations: 8 kB / 434.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.3043, allocations: 23.92 kB / 434.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.3044, allocations: 43.8 kB / 434.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.3046, allocations: 101.1 kB / 434.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3046, allocations: 4 kB / 434.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3046, allocations: 0 / 434.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3046, allocations: 3.938 kB / 434.9 MB, free: 4.5 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.0007206/0.3053, allocations: 403.3 kB / 435.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3054, allocations: 15.97 kB / 435.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.3054, allocations: 8.891 kB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.3057, allocations: 196.2 kB / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.3057, allocations: 8.562 kB / 435.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.3057, allocations: 16.38 kB / 435.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.306, allocations: 127.2 kB / 435.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.306, allocations: 4 kB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.306, allocations: 4 kB / 435.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.306, allocations: 0 / 435.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.3063, allocations: 67.94 kB / 435.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007231/0.307, allocations: 0.5208 MB / 436.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.3072, allocations: 74.55 kB / 436.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.3073, allocations: 44.83 kB / 436.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.3074, allocations: 160 / 436.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.3074, allocations: 34.56 kB / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3074, allocations: 0 / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004323/0.3078, allocations: 129.7 kB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.3079, allocations: 59.34 kB / 436.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.308, allocations: 129.8 kB / 436.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.308, allocations: 29.7 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.3081, allocations: 111.9 kB / 436.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.3081, allocations: 23.81 kB / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.3081, allocations: 29.7 kB / 436.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.3083, allocations: 318.8 kB / 437.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.3085, allocations: 27.98 kB / 437.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.3086, allocations: 68.27 kB / 437.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.3089, allocations: 108.1 kB / 437.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3089, allocations: 0 / 437.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003104/0.3092, allocations: 141.4 kB / 437.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3092, allocations: 8 kB / 437.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3092, allocations: 0 / 437.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3092, allocations: 128 / 437.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.3094, allocations: 43.86 kB / 437.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.3094, allocations: 4 kB / 437.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.376e-05/0.3095, allocations: 15.88 kB / 437.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3095, allocations: 8 kB / 437.6 MB, free: 1.492 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 9.574e-05/0.3096, allocations: 121.7 kB / 437.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.3096, allocations: 7.953 kB / 437.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.3097, allocations: 16.36 kB / 437.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3097, allocations: 4 kB / 437.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3097, allocations: 0 / 437.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3098, allocations: 85.06 kB / 437.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.3098, allocations: 4 kB / 437.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.3099, allocations: 7.984 kB / 437.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.3099, allocations: 11.92 kB / 437.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004251/0.3104, allocations: 192.9 kB / 438.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004746/0.3108, allocations: 318.6 kB / 438.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001163/0.311, allocations: 32.02 kB / 438.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.666e-05/0.311, allocations: 104.2 kB / 438.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of Backend: time 1.4e-07/0.311, allocations: 0 / 438.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.3115, allocations: 133.1 kB / 438.7 MB, free: 428 kB / 334.1 MB Notification: Performance of SimCode: time 0.0009766/0.3125, allocations: 0.8007 MB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Templates: time 0.004038/0.3165, allocations: 1.243 MB / 440.7 MB, free: 14.34 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.548484566155821]