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.001862/0.001862, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.00193/0.00193, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.522/1.522, allocations: 230.4 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.002024/0.002024, allocations: 63.84 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3311, allocations: 53.32 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.004038/0.3352, allocations: 1.902 MB / 433.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3364, allocations: 0.4948 MB / 434.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.3365, allocations: 0 / 434.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.3366, allocations: 19.8 kB / 434.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.3367, allocations: 15.8 kB / 434.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.3369, allocations: 39.95 kB / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.3371, allocations: 107.6 kB / 434.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.3373, allocations: 29.39 kB / 434.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.834e-05/0.3374, allocations: 39.84 kB / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.74e-05/0.3375, allocations: 39.84 kB / 434.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3375, allocations: 8 kB / 434.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/0.3375, allocations: 8 kB / 434.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.3376, allocations: 19.92 kB / 434.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.3376, allocations: 51.67 kB / 434.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.3379, allocations: 101.5 kB / 434.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3379, allocations: 0 / 434.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3379, allocations: 0 / 434.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.3379, allocations: 4 kB / 434.9 MB, free: 4.5 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.0007158/0.3386, allocations: 407.3 kB / 435.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3386, allocations: 8.031 kB / 435.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.3387, allocations: 12.83 kB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.3391, allocations: 200.2 kB / 435.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3391, allocations: 8.562 kB / 435.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.3391, allocations: 8.375 kB / 435.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.3394, allocations: 131.2 kB / 435.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3395, allocations: 0 / 435.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3395, allocations: 4 kB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3395, allocations: 4 kB / 435.7 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.3397, allocations: 67.88 kB / 435.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008539/0.3406, allocations: 0.5286 MB / 436.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.3408, allocations: 74.59 kB / 436.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3409, allocations: 36.83 kB / 436.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.3409, allocations: 7.938 kB / 436.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.341, allocations: 38.56 kB / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.341, allocations: 0 / 436.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004438/0.3414, allocations: 113.8 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.3415, allocations: 55.39 kB / 436.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.3416, allocations: 129.8 kB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3417, allocations: 29.7 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3418, allocations: 111.9 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3418, allocations: 27.8 kB / 436.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.3418, allocations: 25.72 kB / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.342, allocations: 326.8 kB / 437.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.3421, allocations: 27.97 kB / 437.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.3423, allocations: 80.2 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.3425, allocations: 104.2 kB / 437.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3425, allocations: 0 / 437.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003363/0.3429, allocations: 137.4 kB / 437.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3429, allocations: 8 kB / 437.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3429, allocations: 0 / 437.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.3429, allocations: 7.984 kB / 437.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3431, allocations: 32.05 kB / 437.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3431, allocations: 4 kB / 437.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.3432, allocations: 19.88 kB / 437.6 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3432, allocations: 8 kB / 437.6 MB, free: 1.488 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.0001143/0.3433, allocations: 117.8 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.3433, allocations: 7.953 kB / 437.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.3434, allocations: 8.375 kB / 437.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3434, allocations: 4 kB / 437.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3434, allocations: 3.938 kB / 437.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3434, allocations: 4 kB / 437.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.3437, allocations: 201.7 kB / 438 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3437, allocations: 0 / 438 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3438, allocations: 23.92 kB / 438 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3438, allocations: 0 / 438 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3438, allocations: 4 kB / 438 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3438, allocations: 3.984 kB / 438 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.3438, allocations: 4 kB / 438 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.3443, allocations: 235.3 kB / 438.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.3444, allocations: 85 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3444, allocations: 0 / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.422e-05/0.3445, allocations: 12.03 kB / 438.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.3445, allocations: 4 kB / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.3445, allocations: 0 / 438.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.701e-05/0.3446, allocations: 102 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3446, allocations: 4 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000245/0.3448, allocations: 24 kB / 438.5 MB, free: 0.5625 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.0001177/0.345, allocations: 99.23 kB / 438.6 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.3452, allocations: 79.88 kB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3452, allocations: 0 / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3454, allocations: 36.22 kB / 438.7 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3457, allocations: 28.69 kB / 438.7 MB, free: 324 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008413/0.3466, allocations: 359.6 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.347, allocations: 0.7041 MB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.954e-05/0.347, allocations: 4.438 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.3471, allocations: 15.44 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3471, allocations: 0 / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of Templates: time 0.004323/0.3514, allocations: 1.036 MB / 440.8 MB, free: 14.16 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 -s cvode -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: 4.544438587035984]