Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 108.2 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 182.1 kB / 23.72 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 47.92 kB / 370.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3125, allocations: 52.2 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00348/0.316, allocations: 1.879 MB / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.3169, allocations: 458.9 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.317, allocations: 4 kB / 424.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.3171, allocations: 19.73 kB / 425 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.535e-05/0.3172, allocations: 27.78 kB / 425 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.3174, allocations: 27.97 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3176, allocations: 107.6 kB / 425.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.3177, allocations: 29.56 kB / 425.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.176e-05/0.3178, allocations: 43.8 kB / 425.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.3179, allocations: 43.78 kB / 425.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.3179, allocations: 8 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.17e-05/0.318, allocations: 12 kB / 425.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.318, allocations: 15.92 kB / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.3181, allocations: 55.72 kB / 425.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.3182, allocations: 99.97 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3183, allocations: 4 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3183, allocations: 0 / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.3183, allocations: 0 / 425.4 MB, free: 11.78 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.0005856/0.3188, allocations: 334.1 kB / 425.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3189, allocations: 8.031 kB / 425.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.3189, allocations: 42.73 kB / 425.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.319, allocations: 12.84 kB / 425.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3192, allocations: 142.4 kB / 426 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3192, allocations: 4.562 kB / 426 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.3193, allocations: 12.12 kB / 426 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.3196, allocations: 127.3 kB / 426.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3196, allocations: 0 / 426.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3196, allocations: 4 kB / 426.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3196, allocations: 4 kB / 426.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.3198, allocations: 67.94 kB / 426.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006807/0.3205, allocations: 478.7 kB / 426.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3207, allocations: 82.55 kB / 426.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3209, allocations: 36.83 kB / 426.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.3209, allocations: 0 / 426.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3209, allocations: 38.56 kB / 426.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3209, allocations: 3.938 kB / 426.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004112/0.3213, allocations: 121.9 kB / 426.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3214, allocations: 55.34 kB / 427 MB, free: 10.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3215, allocations: 133.2 kB / 427.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3215, allocations: 25.7 kB / 427.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.3216, allocations: 115.9 kB / 427.2 MB, free: 9.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.3216, allocations: 31.73 kB / 427.3 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.3217, allocations: 25.72 kB / 427.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3218, allocations: 326.8 kB / 427.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.3219, allocations: 31.98 kB / 427.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.3221, allocations: 72.19 kB / 427.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.3223, allocations: 104.2 kB / 427.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3223, allocations: 4 kB / 427.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003108/0.3226, allocations: 133.5 kB / 428 MB, free: 9.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3226, allocations: 8 kB / 428 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.3226, allocations: 4.438 kB / 428 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3227, allocations: 0 / 428 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3228, allocations: 39.91 kB / 428 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3228, allocations: 0 / 428 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.3229, allocations: 11.95 kB / 428 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3229, allocations: 7.984 kB / 428 MB, free: 8.953 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.0001032/0.323, allocations: 129.7 kB / 428.2 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.3231, allocations: 11.94 kB / 428.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.3231, allocations: 12.38 kB / 428.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3231, allocations: 0 / 428.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3231, allocations: 0 / 428.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3231, allocations: 0 / 428.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.3233, allocations: 176.6 kB / 428.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3233, allocations: 0 / 428.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.3235, allocations: 19.98 kB / 428.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3235, allocations: 0 / 428.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3235, allocations: 0 / 428.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3235, allocations: 0 / 428.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3235, allocations: 4 kB / 428.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.3239, allocations: 239.4 kB / 428.6 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.3239, allocations: 7.891 kB / 428.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.324, allocations: 11.97 kB / 428.6 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.3241, allocations: 4 kB / 428.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.3241, allocations: 11.98 kB / 428.6 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.3241, allocations: 0 / 428.6 MB, free: 8.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.303e-05/0.3242, allocations: 99.27 kB / 428.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3242, allocations: 0 / 428.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3244, allocations: 27.89 kB / 428.8 MB, free: 8.141 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.0007665/0.3252, allocations: 0.771 MB / 429.5 MB, free: 7.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.3255, allocations: 75.88 kB / 429.6 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3255, allocations: 0 / 429.6 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.3256, allocations: 35.97 kB / 429.6 MB, free: 7.234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.326, allocations: 27.44 kB / 429.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.3282, allocations: 1.725 MB / 431.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.3286, allocations: 0.7078 MB / 432.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.3286, allocations: 8.422 kB / 432.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.3287, allocations: 27.42 kB / 432.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3287, allocations: 0 / 432.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.3632, allocations: 2.553 MB / 434.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.52, allocations: 10.3 kB / 434.7 MB, free: 2.188 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.998695136979222]