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.001379/0.001379, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001462/0.001462, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.597/1.597, allocations: 230.6 MB / 257.5 MB, free: 7.988 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: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 43.92 kB / 377.7 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3291, allocations: 53.37 MB / 431.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003778/0.3329, allocations: 1.909 MB / 433 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.334, allocations: 0.4908 MB / 433.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.3341, allocations: 4 kB / 433.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.3342, allocations: 19.8 kB / 433.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.3343, allocations: 23.8 kB / 433.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.3345, allocations: 31.95 kB / 433.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.3347, allocations: 99.59 kB / 433.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.3349, allocations: 35.25 kB / 433.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.335, allocations: 39.91 kB / 433.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.3351, allocations: 43.78 kB / 433.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3351, allocations: 8 kB / 433.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.3351, allocations: 8 kB / 433.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.3352, allocations: 23.92 kB / 433.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.3352, allocations: 47.73 kB / 433.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3354, allocations: 103.5 kB / 434 MB, free: 3.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3355, allocations: 0 / 434 MB, free: 3.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3355, allocations: 4 kB / 434 MB, free: 3.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3355, allocations: 0 / 434 MB, free: 3.926 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.0006505/0.3361, allocations: 333.2 kB / 434.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3362, allocations: 8.031 kB / 434.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.3362, allocations: 46.73 kB / 434.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.3363, allocations: 12.89 kB / 434.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3365, allocations: 138.3 kB / 434.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3365, allocations: 4.562 kB / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.3366, allocations: 20.08 kB / 434.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.3369, allocations: 113 kB / 434.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3369, allocations: 0 / 434.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3369, allocations: 12 kB / 434.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3369, allocations: 0 / 434.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.3372, allocations: 75.81 kB / 434.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.3379, allocations: 478.9 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.3381, allocations: 74.61 kB / 435.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3382, allocations: 40.77 kB / 435.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.3382, allocations: 4 kB / 435.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.3383, allocations: 30.56 kB / 435.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3383, allocations: 0 / 435.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004099/0.3387, allocations: 121.5 kB / 435.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.3387, allocations: 55.41 kB / 435.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3388, allocations: 133 kB / 435.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3389, allocations: 25.7 kB / 435.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.3389, allocations: 116.1 kB / 435.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.339, allocations: 27.73 kB / 435.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.339, allocations: 29.72 kB / 435.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3392, allocations: 326.8 kB / 436.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.3393, allocations: 35.91 kB / 436.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3394, allocations: 64.27 kB / 436.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.3397, allocations: 104.2 kB / 436.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3397, allocations: 0 / 436.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003109/0.34, allocations: 141.5 kB / 436.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.34, allocations: 4 kB / 436.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.34, allocations: 0 / 436.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.34, allocations: 7.984 kB / 436.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.3402, allocations: 35.92 kB / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3402, allocations: 0 / 436.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.103e-05/0.3403, allocations: 15.98 kB / 436.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3403, allocations: 4 kB / 436.6 MB, free: 1.113 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.0001351/0.3405, allocations: 125.8 kB / 436.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.3405, allocations: 7.953 kB / 436.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.3405, allocations: 12.38 kB / 436.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3405, allocations: 7.984 kB / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3406, allocations: 0 / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3406, allocations: 0 / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.3408, allocations: 168.7 kB / 436.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3408, allocations: 3.938 kB / 436.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.3409, allocations: 27.86 kB / 436.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3409, allocations: 4 kB / 436.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.341, allocations: 4 kB / 436.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.341, allocations: 0 / 436.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.341, allocations: 3.984 kB / 436.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.3414, allocations: 235.3 kB / 437.2 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.3414, allocations: 7.953 kB / 437.2 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3415, allocations: 8 kB / 437.2 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.3416, allocations: 8.031 kB / 437.2 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.3416, allocations: 0 / 437.2 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3416, allocations: 4 kB / 437.2 MB, free: 436 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.56e-05/0.3417, allocations: 103.2 kB / 437.3 MB, free: 332 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3417, allocations: 0 / 437.3 MB, free: 332 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.3419, allocations: 19.94 kB / 437.3 MB, free: 312 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.0007775/0.3427, allocations: 0.7631 MB / 438.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.343, allocations: 71.94 kB / 438.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.343, allocations: 256 / 438.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3431, allocations: 47.89 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3435, allocations: 20.61 kB / 438.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.3458, allocations: 1.744 MB / 440 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.3462, allocations: 0.7002 MB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.502e-05/0.3462, allocations: 12.31 kB / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.3463, allocations: 27.42 kB / 440.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3463, allocations: 0 / 440.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.3823, allocations: 2.541 MB / 443.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.08, allocations: 10.31 kB / 443.2 MB, free: 10.36 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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: 14.804899459006265]