Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001741/0.001741, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.002362/0.002362, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 59.89 kB / 377.8 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3163, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.004039/0.3203, allocations: 1.903 MB / 433.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3215, allocations: 0.4909 MB / 433.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.3216, allocations: 4 kB / 433.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.3218, allocations: 7.875 kB / 433.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.3219, allocations: 31.66 kB / 433.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.3221, allocations: 35.97 kB / 433.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.3223, allocations: 99.64 kB / 433.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.3225, allocations: 37.5 kB / 433.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3226, allocations: 31.92 kB / 433.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3227, allocations: 51.77 kB / 433.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.3228, allocations: 8 kB / 433.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.289e-05/0.3228, allocations: 8 kB / 433.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.3228, allocations: 15.94 kB / 433.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.265e-05/0.3229, allocations: 55.72 kB / 433.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.3232, allocations: 103.9 kB / 434 MB, free: 3.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.3232, allocations: 4 kB / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3232, allocations: 0 / 434 MB, free: 3.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3232, allocations: 0 / 434 MB, free: 3.809 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.0007028/0.3239, allocations: 330.1 kB / 434.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.324, allocations: 12.03 kB / 434.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.26e-05/0.324, allocations: 42.73 kB / 434.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.3241, allocations: 8.891 kB / 434.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.3245, allocations: 134.4 kB / 434.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.3245, allocations: 8.562 kB / 434.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.3245, allocations: 16.12 kB / 434.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.3249, allocations: 122.9 kB / 434.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3249, allocations: 4 kB / 434.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3249, allocations: 0 / 434.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3249, allocations: 0 / 434.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.3252, allocations: 79.88 kB / 434.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.3261, allocations: 470.7 kB / 435.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.3263, allocations: 82.53 kB / 435.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.3264, allocations: 36.84 kB / 435.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3265, allocations: 3.984 kB / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.3265, allocations: 34.55 kB / 435.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3265, allocations: 3.938 kB / 435.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004614/0.327, allocations: 125.8 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.327, allocations: 55.34 kB / 435.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.3272, allocations: 133.2 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3272, allocations: 29.7 kB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/0.3273, allocations: 112.1 kB / 435.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.3273, allocations: 31.73 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.3274, allocations: 25.72 kB / 435.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3276, allocations: 322.8 kB / 436.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.3277, allocations: 35.97 kB / 436.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.3278, allocations: 68.2 kB / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.3281, allocations: 100.2 kB / 436.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3281, allocations: 0 / 436.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003537/0.3284, allocations: 137.5 kB / 436.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3284, allocations: 4 kB / 436.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3285, allocations: 8.125 kB / 436.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-05/0.3285, allocations: 0 / 436.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.3287, allocations: 35.97 kB / 436.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.3287, allocations: 7.938 kB / 436.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.3288, allocations: 7.953 kB / 436.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3288, allocations: 8 kB / 436.6 MB, free: 0.9961 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.0001113/0.3289, allocations: 125.7 kB / 436.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.3289, allocations: 7.953 kB / 436.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.329, allocations: 16.38 kB / 436.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.329, allocations: 0 / 436.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.329, allocations: 0 / 436.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.329, allocations: 0 / 436.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.3292, allocations: 168.6 kB / 436.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3292, allocations: 96 / 436.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.3294, allocations: 27.92 kB / 437 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3294, allocations: 4 kB / 437 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.3294, allocations: 3.938 kB / 437 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.3294, allocations: 3.938 kB / 437 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3294, allocations: 4 kB / 437 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.3298, allocations: 235.3 kB / 437.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.3299, allocations: 11.98 kB / 437.2 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.3299, allocations: 0 / 437.2 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.33, allocations: 8 kB / 437.2 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.33, allocations: 11.98 kB / 437.2 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.33, allocations: 0 / 437.2 MB, free: 316 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.99e-05/0.3301, allocations: 95.27 kB / 437.3 MB, free: 220 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3301, allocations: 0 / 437.3 MB, free: 220 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.3304, allocations: 23.94 kB / 437.4 MB, free: 196 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.0007919/0.3311, allocations: 0.767 MB / 438.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.3315, allocations: 71.94 kB / 438.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3315, allocations: 4 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3316, allocations: 44.36 kB / 438.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3319, allocations: 31.06 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.3346, allocations: 1.736 MB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.3351, allocations: 0.7003 MB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.737e-05/0.3351, allocations: 4.438 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.3352, allocations: 39.36 kB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3352, allocations: 0 / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.3712, allocations: 2.536 MB / 443.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.84, allocations: 19.38 kB / 443.3 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.441560989944264]