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.001872/0.001872, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002085/0.002085, allocations: 185.9 kB / 23.7 MB, free: 4.191 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.381/1.381, allocations: 225.7 MB / 252.5 MB, free: 12.85 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.001608/0.001608, allocations: 51.92 kB / 370.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3287, allocations: 52.19 MB / 422.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003449/0.3321, allocations: 1.832 MB / 424.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007939/0.3329, allocations: 431 kB / 424.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.333, allocations: 3.938 kB / 424.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.3331, allocations: 7.875 kB / 424.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.92e-05/0.3332, allocations: 23.78 kB / 424.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.3333, allocations: 31.95 kB / 424.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.3335, allocations: 111.6 kB / 425 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.3336, allocations: 23.27 kB / 425 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/0.3337, allocations: 47.8 kB / 425.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.3338, allocations: 43.75 kB / 425.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.3338, allocations: 8 kB / 425.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.3339, allocations: 8 kB / 425.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.3339, allocations: 15.94 kB / 425.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.3339, allocations: 39.8 kB / 425.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.3341, allocations: 99.55 kB / 425.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3341, allocations: 0 / 425.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3341, allocations: 4 kB / 425.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3341, allocations: 4 kB / 425.3 MB, free: 11.69 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.0005633/0.3347, allocations: 330.1 kB / 425.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3347, allocations: 12.03 kB / 425.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.3348, allocations: 42.67 kB / 425.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.3348, allocations: 20.84 kB / 425.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.3351, allocations: 126.4 kB / 425.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3351, allocations: 8.562 kB / 425.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.3351, allocations: 12.12 kB / 425.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.3354, allocations: 125.2 kB / 425.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3354, allocations: 4 kB / 425.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3354, allocations: 4 kB / 425.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3354, allocations: 0 / 425.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.3357, allocations: 71.94 kB / 426 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.3363, allocations: 462.7 kB / 426.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.3365, allocations: 86.52 kB / 426.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3366, allocations: 40.83 kB / 426.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3367, allocations: 3.984 kB / 426.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.3367, allocations: 34.56 kB / 426.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3367, allocations: 3.938 kB / 426.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003999/0.3371, allocations: 125.8 kB / 426.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3371, allocations: 55.41 kB / 426.8 MB, free: 9.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3373, allocations: 137.6 kB / 426.9 MB, free: 9.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3373, allocations: 25.7 kB / 427 MB, free: 9.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.433e-05/0.3373, allocations: 111.9 kB / 427.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.3374, allocations: 31.73 kB / 427.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.3374, allocations: 25.72 kB / 427.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3376, allocations: 326.8 kB / 427.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3377, allocations: 31.97 kB / 427.5 MB, free: 9.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3378, allocations: 68.27 kB / 427.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3381, allocations: 108.2 kB / 427.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3381, allocations: 0 / 427.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000291/0.3384, allocations: 133.5 kB / 427.8 MB, free: 8.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3384, allocations: 4 kB / 427.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.3384, allocations: 7.938 kB / 427.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3384, allocations: 0 / 427.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.3386, allocations: 31.97 kB / 427.8 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3386, allocations: 4 kB / 427.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.3386, allocations: 19.88 kB / 427.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3386, allocations: 4 kB / 427.9 MB, free: 8.871 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 9.842e-05/0.3387, allocations: 125.7 kB / 428 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.3388, allocations: 12.02 kB / 428 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.3388, allocations: 12.38 kB / 428 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3388, allocations: 0 / 428 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3388, allocations: 0 / 428 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3388, allocations: 96 / 428 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.339, allocations: 168.6 kB / 428.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.339, allocations: 0 / 428.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.3392, allocations: 27.98 kB / 428.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3392, allocations: 0 / 428.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3392, allocations: 0 / 428.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3392, allocations: 0 / 428.2 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3392, allocations: 4 kB / 428.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.3396, allocations: 235.3 kB / 428.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.3396, allocations: 3.953 kB / 428.4 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3396, allocations: 8.031 kB / 428.4 MB, free: 8.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.3397, allocations: 4 kB / 428.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3398, allocations: 7.984 kB / 428.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3398, allocations: 3.938 kB / 428.5 MB, free: 8.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.177e-05/0.3398, allocations: 103.3 kB / 428.6 MB, free: 8.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3398, allocations: 0 / 428.6 MB, free: 8.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.3401, allocations: 27.89 kB / 428.6 MB, free: 8.07 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.0007264/0.3408, allocations: 0.767 MB / 429.4 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.3411, allocations: 72.08 kB / 429.4 MB, free: 7.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3411, allocations: 8.062 kB / 429.4 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3412, allocations: 35.97 kB / 429.5 MB, free: 7.164 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3415, allocations: 19.98 kB / 429.5 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.3437, allocations: 1.721 MB / 431.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.049e-05/0.3438, allocations: 92.22 kB / 431.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.232e-05/0.3439, allocations: 12.42 kB / 431.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.3439, allocations: 35.36 kB / 431.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3439, allocations: 3.938 kB / 431.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.3759, allocations: 2.964 MB / 434.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.81, allocations: 8.062 kB / 434.3 MB, free: 2.332 MB / 334.1 MB " [Timeout remaining time 649] (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.187343806028366]