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.0007787/0.0007787, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007267/0.0007267, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.9213/0.9213, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.743e-06/1.743e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.531e-05, allocations: 2.281 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002371/0.002396, allocations: 1.821 MB / 320.2 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005815/0.002978, allocations: 434.9 kB / 320.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.761e-05/0.003065, allocations: 7.938 kB / 320.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.591e-05/0.003161, allocations: 19.8 kB / 320.7 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.003207, allocations: 19.8 kB / 320.7 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.003334, allocations: 31.89 kB / 320.7 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.003458, allocations: 107.5 kB / 320.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.003577, allocations: 33.55 kB / 320.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.003672, allocations: 63.88 kB / 320.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.725e-05/0.003729, allocations: 31.91 kB / 321 MB, free: 3.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.003752, allocations: 8 kB / 321 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.003764, allocations: 8 kB / 321 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.003784, allocations: 19.91 kB / 321 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.003816, allocations: 31.92 kB / 321 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.003958, allocations: 99.66 kB / 321.1 MB, free: 3.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00396, allocations: 4 kB / 321.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003961, allocations: 0 / 321.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.003967, allocations: 0 / 321.1 MB, free: 3.629 MB / 282.7 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.0003929/0.00436, allocations: 338 kB / 321.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.004399, allocations: 8.922 kB / 321.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.004431, allocations: 38.75 kB / 321.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.004457, allocations: 20.88 kB / 321.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.00463, allocations: 137.5 kB / 321.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.004639, allocations: 8.562 kB / 321.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.00466, allocations: 8.375 kB / 321.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.004848, allocations: 127 kB / 321.8 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.004859, allocations: 3.953 kB / 321.8 MB, free: 2.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.00487, allocations: 12 kB / 321.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.004875, allocations: 0 / 321.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.004999, allocations: 71.94 kB / 321.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.005463, allocations: 447.1 kB / 322.3 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.005605, allocations: 82.47 kB / 322.4 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.005666, allocations: 40.84 kB / 322.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.005676, allocations: 0 / 322.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.005698, allocations: 34.56 kB / 322.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.005699, allocations: 0 / 322.5 MB, free: 2.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002495/0.005948, allocations: 129.8 kB / 322.6 MB, free: 2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.005979, allocations: 51.41 kB / 322.7 MB, free: 1.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.006057, allocations: 137.1 kB / 322.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.006069, allocations: 25.7 kB / 322.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.006123, allocations: 115.9 kB / 322.9 MB, free: 1.648 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.006143, allocations: 31.73 kB / 323 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.006179, allocations: 25.72 kB / 323 MB, free: 1.586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.006423, allocations: 322.8 kB / 323.3 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.095e-05/0.006484, allocations: 27.98 kB / 323.3 MB, free: 1.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.006553, allocations: 68.2 kB / 323.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.006676, allocations: 104.2 kB / 323.5 MB, free: 1.035 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006678, allocations: 0 / 323.5 MB, free: 1.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001558/0.006834, allocations: 145.3 kB / 323.6 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.006847, allocations: 7.938 kB / 323.7 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006851, allocations: 0 / 323.7 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.006863, allocations: 8.125 kB / 323.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-05/0.00696, allocations: 27.98 kB / 323.7 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.006967, allocations: 3.984 kB / 323.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.007004, allocations: 15.95 kB / 323.7 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.007011, allocations: 4 kB / 323.7 MB, free: 0.8203 MB / 282.7 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 5.831e-05/0.007069, allocations: 117.8 kB / 323.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.007085, allocations: 11.89 kB / 323.8 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.007112, allocations: 20.42 kB / 323.9 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007114, allocations: 0 / 323.9 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.007118, allocations: 4 kB / 323.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.00712, allocations: 0 / 323.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.007239, allocations: 160.6 kB / 324 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.00724, allocations: 0 / 324 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.387e-05/0.007314, allocations: 23.97 kB / 324 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.007317, allocations: 3.984 kB / 324 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.007326, allocations: 8 kB / 324.1 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.007328, allocations: 4 kB / 324.1 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.007329, allocations: 0 / 324.1 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.007565, allocations: 247.6 kB / 324.3 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.007578, allocations: 11.89 kB / 324.3 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.00759, allocations: 0 / 324.3 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.332e-05/0.007633, allocations: 8.031 kB / 324.3 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.007668, allocations: 7.984 kB / 324.3 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.007672, allocations: 4 kB / 324.3 MB, free: 136 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.007711, allocations: 95.27 kB / 324.4 MB, free: 40 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007711, allocations: 0 / 324.4 MB, free: 40 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001518/0.007862, allocations: 20 kB / 324.4 MB, free: 20 kB / 282.7 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.0004016/0.008264, allocations: 0.7631 MB / 325.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.008423, allocations: 79.91 kB / 325.3 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008425, allocations: 0 / 325.3 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.849e-05/0.008483, allocations: 32.23 kB / 325.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.008737, allocations: 27.92 kB / 325.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.01006, allocations: 1.668 MB / 327 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.01012, allocations: 92.27 kB / 327.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.643e-05/0.01016, allocations: 12.48 kB / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.01021, allocations: 32.5 kB / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01021, allocations: 0 / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.02502, allocations: 3.111 MB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.694, allocations: 6.938 kB / 330.3 MB, free: 10.19 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/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: 8.430683868937194]