Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 209.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.653/1.653, allocations: 230.6 MB / 257.5 MB, free: 7.805 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 47.92 kB / 378.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2843, allocations: 53.36 MB / 431.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00357/0.2879, allocations: 1.856 MB / 433.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009883/0.2888, allocations: 462.8 kB / 433.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.2889, allocations: 4 kB / 433.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.2891, allocations: 11.86 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.2892, allocations: 27.72 kB / 433.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.2893, allocations: 39.95 kB / 433.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.2895, allocations: 107.6 kB / 434 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.2897, allocations: 28.11 kB / 434.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.342e-05/0.2897, allocations: 39.86 kB / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.975e-05/0.2898, allocations: 43.83 kB / 434.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.2899, allocations: 8 kB / 434.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.025e-05/0.2899, allocations: 15.94 kB / 434.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.2899, allocations: 11.98 kB / 434.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.804e-05/0.29, allocations: 43.8 kB / 434.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.2902, allocations: 103.2 kB / 434.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2902, allocations: 4 kB / 434.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2902, allocations: 0 / 434.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.2902, allocations: 0 / 434.3 MB, free: 3.945 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.0005907/0.2908, allocations: 330.2 kB / 434.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2908, allocations: 8.031 kB / 434.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.2908, allocations: 16.89 kB / 434.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.2911, allocations: 142.2 kB / 434.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2911, allocations: 8.562 kB / 434.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.2911, allocations: 16.33 kB / 434.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.2914, allocations: 117.4 kB / 435 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.2915, allocations: 4 kB / 435 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.2915, allocations: 4 kB / 435 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2915, allocations: 0 / 435 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.2917, allocations: 75.88 kB / 435 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.2923, allocations: 419.6 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.2926, allocations: 82.53 kB / 435.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2927, allocations: 40.83 kB / 435.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.2927, allocations: 0 / 435.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2927, allocations: 30.56 kB / 435.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.2927, allocations: 0 / 435.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004451/0.2932, allocations: 133.7 kB / 435.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.2932, allocations: 55.41 kB / 435.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.2933, allocations: 140.3 kB / 435.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.2934, allocations: 29.7 kB / 435.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.2935, allocations: 111.9 kB / 436.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.2935, allocations: 27.78 kB / 436.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.2935, allocations: 29.67 kB / 436.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2937, allocations: 318.8 kB / 436.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.2938, allocations: 27.98 kB / 436.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.2939, allocations: 68.27 kB / 436.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.2942, allocations: 108.1 kB / 436.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2942, allocations: 3.938 kB / 436.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003111/0.2945, allocations: 141.5 kB / 436.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2945, allocations: 4 kB / 436.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2945, allocations: 4 kB / 436.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2945, allocations: 0 / 436.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.2947, allocations: 27.98 kB / 436.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2947, allocations: 11.92 kB / 436.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.2948, allocations: 7.938 kB / 436.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2948, allocations: 4 kB / 436.8 MB, free: 1.238 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.639e-05/0.2949, allocations: 121.8 kB / 436.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.2949, allocations: 12.02 kB / 437 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.295, allocations: 16.36 kB / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.295, allocations: 0 / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.295, allocations: 0 / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.295, allocations: 0 / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.2951, allocations: 145.1 kB / 437.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2951, allocations: 4 kB / 437.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.2953, allocations: 20.08 kB / 437.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2953, allocations: 3.938 kB / 437.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2953, allocations: 4 kB / 437.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2953, allocations: 8 kB / 437.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2953, allocations: 3.938 kB / 437.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.2957, allocations: 231.4 kB / 437.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.2958, allocations: 7.984 kB / 437.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.2958, allocations: 4 kB / 437.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/0.2959, allocations: 4 kB / 437.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.2959, allocations: 7.984 kB / 437.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.2959, allocations: 4 kB / 437.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.583e-05/0.296, allocations: 99.27 kB / 437.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.296, allocations: 0 / 437.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.2962, allocations: 20 kB / 437.5 MB, free: 488 kB / 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.0001061/0.2963, allocations: 95.25 kB / 437.6 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.2966, allocations: 84.2 kB / 437.7 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2966, allocations: 0 / 437.7 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.2967, allocations: 36.22 kB / 437.7 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.2971, allocations: 26.25 kB / 437.8 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.2978, allocations: 368.8 kB / 438.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.671e-05/0.2979, allocations: 89 kB / 438.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.997e-05/0.298, allocations: 8.422 kB / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.298, allocations: 11.44 kB / 438.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.298, allocations: 0 / 438.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of Templates: time 0.003959/0.3019, allocations: 1.161 MB / 439.4 MB, free: 14.58 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.750719269737601]