Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001379/0.001379, allocations: 113 kB / 19.04 MB, free: 3.254 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.001342/0.001342, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.421/1.421, allocations: 225.6 MB / 250.8 MB, free: 13.32 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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 47.91 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2939, allocations: 52.14 MB / 420.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003295/0.2972, allocations: 1.904 MB / 422.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.298, allocations: 454.8 kB / 423.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.2981, allocations: 4 kB / 423.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.2982, allocations: 11.86 kB / 423.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.2983, allocations: 27.8 kB / 423.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.2984, allocations: 31.94 kB / 423.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.2986, allocations: 103.6 kB / 423.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.2987, allocations: 29.39 kB / 423.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.2988, allocations: 43.8 kB / 423.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.2989, allocations: 47.77 kB / 423.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.2989, allocations: 8 kB / 423.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.2989, allocations: 8 kB / 423.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.299, allocations: 19.92 kB / 423.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.299, allocations: 51.73 kB / 423.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.2992, allocations: 104.8 kB / 423.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2992, allocations: 0 / 423.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2992, allocations: 0 / 423.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.2992, allocations: 0 / 423.7 MB, free: 12.27 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.0006177/0.2998, allocations: 411.1 kB / 424.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2999, allocations: 12.03 kB / 424.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.2999, allocations: 12.84 kB / 424.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.3002, allocations: 196.2 kB / 424.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3002, allocations: 8.562 kB / 424.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.3002, allocations: 12.38 kB / 424.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.3005, allocations: 118.2 kB / 424.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3005, allocations: 4 kB / 424.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3006, allocations: 4 kB / 424.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3006, allocations: 0 / 424.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.3008, allocations: 75.94 kB / 424.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.3015, allocations: 0.5208 MB / 425 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.3018, allocations: 78.55 kB / 425.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3019, allocations: 40.83 kB / 425.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3019, allocations: 0 / 425.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3019, allocations: 34.56 kB / 425.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.3019, allocations: 0 / 425.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.00042/0.3023, allocations: 138 kB / 425.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3024, allocations: 55.41 kB / 425.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3025, allocations: 125.8 kB / 425.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3025, allocations: 25.7 kB / 425.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.3026, allocations: 119.8 kB / 425.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.3026, allocations: 27.75 kB / 425.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.3027, allocations: 29.7 kB / 425.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3028, allocations: 322.7 kB / 426 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.3029, allocations: 39.97 kB / 426 MB, free: 9.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.303, allocations: 64.27 kB / 426.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.3033, allocations: 108.2 kB / 426.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3033, allocations: 0 / 426.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002886/0.3036, allocations: 137.4 kB / 426.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3036, allocations: 8.125 kB / 426.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3036, allocations: 4 kB / 426.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3036, allocations: 0 / 426.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.3038, allocations: 27.98 kB / 426.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.3038, allocations: 4 kB / 426.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.3039, allocations: 19.94 kB / 426.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3039, allocations: 4 kB / 426.4 MB, free: 9.262 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.75e-05/0.304, allocations: 133.7 kB / 426.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.304, allocations: 3.953 kB / 426.5 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.304, allocations: 16.38 kB / 426.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.304, allocations: 0 / 426.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.304, allocations: 0 / 426.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.304, allocations: 3.984 kB / 426.6 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.3043, allocations: 201.5 kB / 426.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3043, allocations: 0 / 426.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.3044, allocations: 23.98 kB / 426.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.3044, allocations: 3.984 kB / 426.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3045, allocations: 96 / 426.8 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3045, allocations: 3.938 kB / 426.8 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3045, allocations: 4 kB / 426.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.3049, allocations: 231.3 kB / 427 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.3049, allocations: 89.06 kB / 427.1 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.3049, allocations: 0 / 427.1 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.795e-05/0.305, allocations: 8.031 kB / 427.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.3051, allocations: 8 kB / 427.1 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3051, allocations: 0 / 427.1 MB, free: 8.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.84e-05/0.3051, allocations: 102.5 kB / 427.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3051, allocations: 0 / 427.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3054, allocations: 27.94 kB / 427.2 MB, free: 8.324 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.0001046/0.3055, allocations: 95.25 kB / 427.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.3058, allocations: 83.95 kB / 427.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3058, allocations: 0 / 427.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3059, allocations: 43.89 kB / 427.5 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3062, allocations: 19.92 kB / 427.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007132/0.3069, allocations: 368.3 kB / 427.8 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.3073, allocations: 0.7 MB / 428.5 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.684e-05/0.3074, allocations: 4.438 kB / 428.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.3074, allocations: 11.44 kB / 428.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3074, allocations: 4 kB / 428.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of Templates: time 0.003729/0.3111, allocations: 1.042 MB / 429.6 MB, free: 5.91 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.514502929523587]