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.001437/0.001437, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001391/0.001391, allocations: 191.7 kB / 24.5 MB, free: 4.02 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.409/1.409, allocations: 225.7 MB / 253.3 MB, free: 13.03 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 47.92 kB / 371.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3035, allocations: 52.18 MB / 423.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003976/0.3075, allocations: 1.894 MB / 425.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00094/0.3085, allocations: 454.9 kB / 425.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3086, allocations: 4 kB / 425.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.3087, allocations: 23.8 kB / 425.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.786e-05/0.3088, allocations: 19.78 kB / 425.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.3089, allocations: 27.97 kB / 425.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.3091, allocations: 103.6 kB / 425.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.3093, allocations: 33.56 kB / 425.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.3094, allocations: 39.86 kB / 426 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.771e-05/0.3095, allocations: 47.72 kB / 426 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.3095, allocations: 8 kB / 426 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/0.3095, allocations: 12 kB / 426 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.3095, allocations: 27.91 kB / 426.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.3096, allocations: 43.73 kB / 426.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.3098, allocations: 100.4 kB / 426.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3098, allocations: 0 / 426.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3098, allocations: 4 kB / 426.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3098, allocations: 0 / 426.2 MB, free: 11.8 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.0005896/0.3104, allocations: 330.1 kB / 426.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.3104, allocations: 16.03 kB / 426.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.452e-05/0.3104, allocations: 384 / 426.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.3105, allocations: 46.73 kB / 426.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.3105, allocations: 12.84 kB / 426.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.3108, allocations: 138.3 kB / 426.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.3108, allocations: 12.31 kB / 426.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.3108, allocations: 8 kB / 426.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.3112, allocations: 129 kB / 426.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3112, allocations: 0 / 426.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.3112, allocations: 4 kB / 426.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3112, allocations: 4 kB / 426.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.3114, allocations: 67.94 kB / 427 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007518/0.3122, allocations: 486.7 kB / 427.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.3124, allocations: 78.55 kB / 427.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3125, allocations: 36.83 kB / 427.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3125, allocations: 0 / 427.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.3126, allocations: 38.56 kB / 427.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.3126, allocations: 0 / 427.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004372/0.313, allocations: 125.9 kB / 427.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3131, allocations: 59.28 kB / 427.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3132, allocations: 129.2 kB / 427.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3132, allocations: 29.64 kB / 427.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.3133, allocations: 115.9 kB / 428 MB, free: 9.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.3133, allocations: 31.73 kB / 428.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.3134, allocations: 25.72 kB / 428.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3136, allocations: 326.8 kB / 428.4 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3137, allocations: 27.98 kB / 428.4 MB, free: 9.371 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.3138, allocations: 83.5 kB / 428.5 MB, free: 9.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.3141, allocations: 92.2 kB / 428.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3141, allocations: 4 kB / 428.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003037/0.3144, allocations: 133.5 kB / 428.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.3144, allocations: 8 kB / 428.8 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3144, allocations: 0 / 428.8 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3144, allocations: 4 kB / 428.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.3146, allocations: 39.91 kB / 428.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.3146, allocations: 0 / 428.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/0.3147, allocations: 16.08 kB / 428.8 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3147, allocations: 0 / 428.8 MB, free: 8.965 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.0001213/0.3148, allocations: 133.7 kB / 428.9 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.3149, allocations: 11.94 kB / 429 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.3149, allocations: 8.375 kB / 429 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3149, allocations: 0 / 429 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3149, allocations: 0 / 429 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3149, allocations: 4 kB / 429 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.3151, allocations: 168.6 kB / 429.1 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3151, allocations: 4.094 kB / 429.1 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.3153, allocations: 23.92 kB / 429.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3153, allocations: 0 / 429.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3153, allocations: 4 kB / 429.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3153, allocations: 0 / 429.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3153, allocations: 0 / 429.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.3158, allocations: 243.3 kB / 429.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.3158, allocations: 3.953 kB / 429.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3158, allocations: 8.031 kB / 429.4 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.3159, allocations: 4 kB / 429.4 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.316, allocations: 11.98 kB / 429.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.316, allocations: 0 / 429.4 MB, free: 8.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.552e-05/0.316, allocations: 99.2 kB / 429.5 MB, free: 8.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.316, allocations: 0 / 429.5 MB, free: 8.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.3163, allocations: 35.83 kB / 429.6 MB, free: 8.145 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.0007643/0.3171, allocations: 0.7593 MB / 430.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.3173, allocations: 84 kB / 430.4 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3173, allocations: 0 / 430.4 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3174, allocations: 32.44 kB / 430.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3178, allocations: 27.41 kB / 430.5 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.3202, allocations: 1.729 MB / 432.2 MB, free: 5.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3206, allocations: 0.7 MB / 432.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.686e-05/0.3206, allocations: 8.422 kB / 432.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.3207, allocations: 35.61 kB / 432.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3207, allocations: 0 / 432.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.348, allocations: 2.573 MB / 435.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.56, allocations: 8.062 kB / 435.5 MB, free: 2.184 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: 14.07313278602669]