Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008079/0.0008079, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008057/0.0008057, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8754/0.8754, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.674e-05, allocations: 3.266 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002119/0.002136, allocations: 1.853 MB / 326.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005516/0.002688, allocations: 466.8 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.002753, allocations: 8 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.375e-05/0.002836, allocations: 11.86 kB / 326.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.002884, allocations: 27.72 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.003005, allocations: 31.89 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.003118, allocations: 103.6 kB / 327 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.003228, allocations: 29.56 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.003304, allocations: 59.89 kB / 327.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.003354, allocations: 31.89 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.003375, allocations: 8 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.003386, allocations: 12 kB / 327.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.003404, allocations: 15.92 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.003432, allocations: 35.91 kB / 327.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.003555, allocations: 99.61 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003557, allocations: 4 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003558, allocations: 4 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.003561, allocations: 3.938 kB / 327.3 MB, free: 13.11 MB / 298.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.0003466/0.003908, allocations: 326.1 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.003942, allocations: 11.98 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.003972, allocations: 50.73 kB / 327.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.003995, allocations: 8.891 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.004152, allocations: 141.6 kB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.004161, allocations: 8.562 kB / 327.8 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.004184, allocations: 12.33 kB / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.004351, allocations: 119.9 kB / 327.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.00436, allocations: 0 / 327.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.00437, allocations: 7.984 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.004374, allocations: 0 / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.004493, allocations: 79.88 kB / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.004906, allocations: 455.2 kB / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.005026, allocations: 74.55 kB / 328.5 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.005084, allocations: 36.83 kB / 328.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.005095, allocations: 4 kB / 328.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.00511, allocations: 38.5 kB / 328.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.005111, allocations: 0 / 328.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002185/0.00533, allocations: 117.8 kB / 328.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.005353, allocations: 55.41 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.005417, allocations: 133.1 kB / 328.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.005426, allocations: 29.7 kB / 329 MB, free: 11.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.005469, allocations: 111.9 kB / 329.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.005486, allocations: 27.78 kB / 329.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.005517, allocations: 33.67 kB / 329.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.005582, allocations: 318.8 kB / 329.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.005635, allocations: 35.97 kB / 329.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.005699, allocations: 68.2 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.005816, allocations: 108.2 kB / 329.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005818, allocations: 0 / 329.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001473/0.005965, allocations: 141.4 kB / 329.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.005975, allocations: 4 kB / 329.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.005981, allocations: 3.984 kB / 329.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.00599, allocations: 4 kB / 329.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.006087, allocations: 27.98 kB / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.006093, allocations: 12.12 kB / 329.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.00613, allocations: 15.98 kB / 329.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.006136, allocations: 4 kB / 329.8 MB, free: 10.3 MB / 298.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.341e-05/0.006189, allocations: 121.8 kB / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.006204, allocations: 11.89 kB / 330 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.006224, allocations: 8.438 kB / 330 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.006225, allocations: 4 kB / 330 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.006228, allocations: 0 / 330 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006232, allocations: 3.984 kB / 330 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.006347, allocations: 168.8 kB / 330.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006348, allocations: 0 / 330.2 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.006415, allocations: 24.08 kB / 330.2 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.006416, allocations: 7.875 kB / 330.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.006425, allocations: 4 kB / 330.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006425, allocations: 0 / 330.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006426, allocations: 0 / 330.2 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.006635, allocations: 227.4 kB / 330.4 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.006647, allocations: 15.98 kB / 330.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.006657, allocations: 0 / 330.4 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.006697, allocations: 4 kB / 330.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.006728, allocations: 11.98 kB / 330.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.00673, allocations: 0 / 330.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.36e-05/0.006763, allocations: 95.27 kB / 330.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006763, allocations: 0 / 330.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000151/0.006914, allocations: 23.94 kB / 330.6 MB, free: 9.523 MB / 298.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.0003517/0.007266, allocations: 0.7709 MB / 331.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.007403, allocations: 75.89 kB / 331.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.007404, allocations: 0 / 331.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.982e-05/0.007454, allocations: 35.91 kB / 331.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.007656, allocations: 23.53 kB / 331.5 MB, free: 8.594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.008786, allocations: 1.694 MB / 333.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.992e-05/0.008835, allocations: 92.27 kB / 333.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.82e-05/0.008864, allocations: 8.484 kB / 333.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.008904, allocations: 28.48 kB / 333.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.008905, allocations: 0 / 333.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.02378, allocations: 3.107 MB / 336.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/6.726, allocations: 6.734 kB / 336.4 MB, free: 3.652 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.332180846482515]