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.007259/0.007259, allocations: 109.6 kB / 21.98 MB, free: 5.184 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.001559/0.001559, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.439/1.439, allocations: 230.6 MB / 259 MB, free: 8.023 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.002069/0.002069, allocations: 67.89 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2709, allocations: 53.36 MB / 433.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.004174/0.2751, allocations: 1.899 MB / 435 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2761, allocations: 0.4948 MB / 435.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2762, allocations: 3.938 kB / 435.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.2764, allocations: 7.875 kB / 435.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.599e-05/0.2765, allocations: 31.72 kB / 435.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.2766, allocations: 27.91 kB / 435.6 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.2768, allocations: 115.6 kB / 435.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.277, allocations: 29.52 kB / 435.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.2771, allocations: 43.86 kB / 435.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.2772, allocations: 47.77 kB / 435.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.2772, allocations: 8 kB / 435.9 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.082e-05/0.2772, allocations: 8 kB / 435.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.2772, allocations: 15.92 kB / 435.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/0.2773, allocations: 51.73 kB / 435.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.2775, allocations: 100.7 kB / 436 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2775, allocations: 0 / 436 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2775, allocations: 0 / 436 MB, free: 4.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2775, allocations: 4 kB / 436 MB, free: 4.07 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.0006153/0.2781, allocations: 330.2 kB / 436.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2782, allocations: 8.031 kB / 436.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.2782, allocations: 8.891 kB / 436.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.2785, allocations: 142.3 kB / 436.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.2785, allocations: 8.562 kB / 436.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.2785, allocations: 8.375 kB / 436.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.2788, allocations: 128 kB / 436.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2789, allocations: 0 / 436.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2789, allocations: 7.938 kB / 436.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.2789, allocations: 4 kB / 436.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.2791, allocations: 67.94 kB / 436.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007359/0.2799, allocations: 474.8 kB / 437.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.2801, allocations: 78.53 kB / 437.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.2802, allocations: 40.77 kB / 437.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.2802, allocations: 8 kB / 437.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.2802, allocations: 34.56 kB / 437.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2802, allocations: 0 / 437.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004152/0.2807, allocations: 121.9 kB / 437.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.2807, allocations: 51.41 kB / 437.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2808, allocations: 139.3 kB / 437.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.2809, allocations: 29.7 kB / 437.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.2809, allocations: 111.9 kB / 437.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.281, allocations: 27.75 kB / 437.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.281, allocations: 29.7 kB / 437.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2812, allocations: 322.8 kB / 438.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2813, allocations: 27.97 kB / 438.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2814, allocations: 72.27 kB / 438.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.2816, allocations: 108.1 kB / 438.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2816, allocations: 0 / 438.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003005/0.2819, allocations: 137.5 kB / 438.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.282, allocations: 4 kB / 438.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.282, allocations: 0 / 438.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.282, allocations: 4 kB / 438.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.2821, allocations: 32.05 kB / 438.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2821, allocations: 4 kB / 438.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.2822, allocations: 15.94 kB / 438.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.2822, allocations: 8 kB / 438.6 MB, free: 1.305 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.0001076/0.2823, allocations: 117.8 kB / 438.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.2824, allocations: 7.953 kB / 438.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.2824, allocations: 8.375 kB / 438.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.2824, allocations: 11.92 kB / 438.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2824, allocations: 4 kB / 438.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2824, allocations: 4 kB / 438.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.2826, allocations: 168.6 kB / 438.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2826, allocations: 0 / 438.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.2828, allocations: 27.97 kB / 438.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2828, allocations: 0 / 438.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.2828, allocations: 0 / 438.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.2828, allocations: 4 kB / 438.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2828, allocations: 3.938 kB / 438.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.2833, allocations: 239.3 kB / 439.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.2833, allocations: 3.953 kB / 439.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.2833, allocations: 7.938 kB / 439.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.2834, allocations: 12.12 kB / 439.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.2834, allocations: 7.922 kB / 439.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.2834, allocations: 4 kB / 439.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.6e-05/0.2835, allocations: 104.4 kB / 439.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2835, allocations: 0 / 439.3 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.2838, allocations: 16 kB / 439.3 MB, free: 0.4961 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 0.0001024/0.2839, allocations: 98.06 kB / 439.4 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.2841, allocations: 75.89 kB / 439.5 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2841, allocations: 0 / 439.5 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.2842, allocations: 40.55 kB / 439.5 MB, free: 288 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2846, allocations: 30.81 kB / 439.5 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/0.2854, allocations: 382.5 kB / 439.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.2857, allocations: 0.7087 MB / 440.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.2858, allocations: 11.44 kB / 440.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2858, allocations: 0 / 440.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of Templates: time 0.003325/0.2891, allocations: 1.289 MB / 441.9 MB, free: 13.81 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/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: 6.994816988008097]