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.001376/0.001376, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001517/0.001517, allocations: 210.8 kB / 24.47 MB, free: 3.996 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.483/1.483, allocations: 230.5 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.001982/0.001982, allocations: 75.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3721, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003668/0.3757, allocations: 1.895 MB / 433.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009908/0.3767, allocations: 0.4909 MB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.3768, allocations: 3.938 kB / 434.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.377, allocations: 11.88 kB / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.443e-05/0.377, allocations: 23.78 kB / 434.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.3772, allocations: 27.97 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.3774, allocations: 103.6 kB / 434.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3775, allocations: 37.38 kB / 434.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.707e-05/0.3776, allocations: 43.8 kB / 434.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.796e-05/0.3777, allocations: 43.83 kB / 434.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.3778, allocations: 8 kB / 434.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.09e-05/0.3778, allocations: 8 kB / 434.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.3778, allocations: 19.86 kB / 434.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.3779, allocations: 47.75 kB / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.3781, allocations: 101.5 kB / 434.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3781, allocations: 0 / 434.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3781, allocations: 0 / 434.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.3781, allocations: 4 kB / 434.9 MB, free: 4.523 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.0006855/0.3788, allocations: 407.3 kB / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3788, allocations: 8.031 kB / 435.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.3789, allocations: 8.891 kB / 435.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.3792, allocations: 200.2 kB / 435.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3793, allocations: 8.562 kB / 435.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.3793, allocations: 8.375 kB / 435.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.3796, allocations: 131.2 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3796, allocations: 3.938 kB / 435.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3796, allocations: 7.922 kB / 435.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3796, allocations: 4 kB / 435.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.3799, allocations: 67.94 kB / 435.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000801/0.3807, allocations: 0.5286 MB / 436.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.3809, allocations: 78.53 kB / 436.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.3811, allocations: 32.84 kB / 436.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.3811, allocations: 8 kB / 436.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3811, allocations: 30.56 kB / 436.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3811, allocations: 0 / 436.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004351/0.3815, allocations: 121.8 kB / 436.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.3816, allocations: 51.41 kB / 436.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.3817, allocations: 133.7 kB / 436.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3817, allocations: 29.7 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.3818, allocations: 115.9 kB / 436.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.3819, allocations: 27.8 kB / 436.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.3819, allocations: 21.72 kB / 436.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.3821, allocations: 326.8 kB / 437.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3822, allocations: 31.97 kB / 437.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.3823, allocations: 72.27 kB / 437.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.3826, allocations: 108.3 kB / 437.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3826, allocations: 0 / 437.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000307/0.3829, allocations: 133.5 kB / 437.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3829, allocations: 4 kB / 437.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3829, allocations: 0 / 437.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3829, allocations: 4 kB / 437.6 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.3831, allocations: 39.91 kB / 437.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3831, allocations: 4.125 kB / 437.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.513e-05/0.3832, allocations: 15.89 kB / 437.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3832, allocations: 4 kB / 437.6 MB, free: 1.52 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.0001389/0.3834, allocations: 125.8 kB / 437.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3834, allocations: 11.89 kB / 437.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.3835, allocations: 8.375 kB / 437.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3835, allocations: 4 kB / 437.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3835, allocations: 0 / 437.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3835, allocations: 4 kB / 437.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.3837, allocations: 205.5 kB / 438 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3837, allocations: 0 / 438 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.3839, allocations: 19.98 kB / 438 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3839, allocations: 0 / 438 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3839, allocations: 0 / 438 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3839, allocations: 320 / 438 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3839, allocations: 4 kB / 438 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/0.3844, allocations: 247.2 kB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.3844, allocations: 89.03 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3844, allocations: 4 kB / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.3845, allocations: 0 / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.3846, allocations: 11.98 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3846, allocations: 4 kB / 438.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.9e-05/0.3847, allocations: 95.2 kB / 438.4 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3847, allocations: 8 kB / 438.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000244/0.3849, allocations: 20 kB / 438.5 MB, free: 0.582 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.0001206/0.385, allocations: 95.25 kB / 438.6 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.3853, allocations: 83.89 kB / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3853, allocations: 0 / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3854, allocations: 40.17 kB / 438.7 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.3858, allocations: 27.27 kB / 438.7 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/0.3866, allocations: 379.8 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.387, allocations: 0.7079 MB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.387, allocations: 11.44 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.387, allocations: 0 / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of Templates: time 0.003328/0.3903, allocations: 1.296 MB / 441.1 MB, free: 13.89 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: 7.422860590741038]