Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.001819/0.001819, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001891/0.001891, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 47.91 kB / 379 MB, free: 2.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2728, allocations: 53.36 MB / 432.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003789/0.2766, allocations: 2.097 MB / 434.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.2776, allocations: 0.5453 MB / 435 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.2777, allocations: 7.938 kB / 435 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.2778, allocations: 15.8 kB / 435 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.464e-05/0.2779, allocations: 31.72 kB / 435.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.2782, allocations: 58.25 kB / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.2784, allocations: 131.5 kB / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.2785, allocations: 36.53 kB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.2786, allocations: 67.72 kB / 435.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.2787, allocations: 51.7 kB / 435.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.2788, allocations: 12 kB / 435.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.952e-05/0.2788, allocations: 8 kB / 435.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.2788, allocations: 23.92 kB / 435.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.511e-05/0.2789, allocations: 63.67 kB / 435.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.2791, allocations: 127.2 kB / 435.6 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2791, allocations: 4 kB / 435.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2791, allocations: 0 / 435.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2791, allocations: 3.938 kB / 435.6 MB, free: 3.684 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006145/0.2797, allocations: 368.6 kB / 436 MB, free: 3.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2797, allocations: 8.031 kB / 436 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.2798, allocations: 16.84 kB / 436 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.28, allocations: 146.3 kB / 436.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2801, allocations: 8.359 kB / 436.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.2801, allocations: 16.38 kB / 436.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.2806, allocations: 235.6 kB / 436.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2806, allocations: 3.984 kB / 436.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2806, allocations: 8 kB / 436.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2806, allocations: 4 kB / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.2808, allocations: 87.81 kB / 436.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.2815, allocations: 0.5389 MB / 437.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.2818, allocations: 139.9 kB / 437.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.282, allocations: 78.55 kB / 437.3 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.282, allocations: 4 kB / 437.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2821, allocations: 38.56 kB / 437.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.153e-06/0.2821, allocations: 0 / 437.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004927/0.2825, allocations: 181.3 kB / 437.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/0.2826, allocations: 114.9 kB / 437.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2828, allocations: 138.1 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.2828, allocations: 25.7 kB / 437.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.2829, allocations: 124 kB / 437.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.2829, allocations: 31.72 kB / 437.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.2829, allocations: 33.72 kB / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2831, allocations: 322.8 kB / 438.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.2832, allocations: 43.91 kB / 438.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.2834, allocations: 142.8 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = PI.y_start (0.0 = PI.y_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.2838, allocations: 205.5 kB / 438.6 MB, free: 344 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.2838, allocations: 0 / 438.6 MB, free: 344 kB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003711/0.2841, allocations: 197.2 kB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2842, allocations: 8 kB / 438.9 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2842, allocations: 0 / 438.9 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2842, allocations: 8 kB / 438.9 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.2843, allocations: 43.91 kB / 438.9 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2843, allocations: 8 kB / 438.9 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2845, allocations: 28.34 kB / 438.9 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2845, allocations: 8 kB / 438.9 MB, free: 36 kB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: PI.y = PI.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001297/0.2846, allocations: 133.7 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.2848, allocations: 89.58 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.2848, allocations: 16.7 kB / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2848, allocations: 4 kB / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2848, allocations: 0 / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2848, allocations: 0 / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.2851, allocations: 192.5 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2851, allocations: 4.469 kB / 439.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.2853, allocations: 47.89 kB / 439.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2853, allocations: 4 kB / 439.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2853, allocations: 0 / 439.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2853, allocations: 0 / 439.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2853, allocations: 7.938 kB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.2858, allocations: 390.4 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.2859, allocations: 11.89 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.2859, allocations: 8 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.286, allocations: 7.984 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.286, allocations: 8 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.2861, allocations: 4 kB / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.486e-05/0.2861, allocations: 114.1 kB / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2861, allocations: 0 / 440 MB, free: 14.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.2864, allocations: 27.95 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.765e-05/0.2865, allocations: 103.5 kB / 440.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.2869, allocations: 132.5 kB / 440.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2869, allocations: 3.938 kB / 440.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.287, allocations: 27.92 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.2875, allocations: 67.78 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008404/0.2883, allocations: 436.3 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.2886, allocations: 0.7162 MB / 441.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.2887, allocations: 19.42 kB / 441.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2887, allocations: 0 / 441.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of Templates: time 0.003479/0.2922, allocations: 1.619 MB / 443.1 MB, free: 11.74 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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: 7.385103128151968]