Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 209.3 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 43.94 kB / 377.7 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2517, allocations: 53.38 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003185/0.2549, allocations: 1.845 MB / 432.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008116/0.2557, allocations: 458.8 kB / 433.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.2558, allocations: 7.938 kB / 433.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.572e-05/0.2559, allocations: 15.86 kB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.221e-05/0.256, allocations: 23.78 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.2561, allocations: 31.97 kB / 433.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.2563, allocations: 103.6 kB / 433.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2564, allocations: 35.25 kB / 433.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.584e-05/0.2565, allocations: 43.8 kB / 433.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.2565, allocations: 43.78 kB / 433.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.2566, allocations: 8 kB / 433.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.2566, allocations: 12 kB / 433.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.2566, allocations: 23.91 kB / 433.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.653e-05/0.2567, allocations: 39.8 kB / 433.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.2568, allocations: 99.55 kB / 433.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2568, allocations: 4 kB / 433.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2568, allocations: 0 / 433.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2568, allocations: 0 / 433.8 MB, free: 3.883 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.0005411/0.2574, allocations: 330.1 kB / 434.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2574, allocations: 12.03 kB / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.2575, allocations: 42.69 kB / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.2575, allocations: 16.83 kB / 434.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.2577, allocations: 134.4 kB / 434.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2577, allocations: 4.562 kB / 434.4 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.2578, allocations: 24.08 kB / 434.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.258, allocations: 117.5 kB / 434.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.258, allocations: 4 kB / 434.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.2581, allocations: 7.984 kB / 434.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2581, allocations: 4 kB / 434.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.2583, allocations: 63.95 kB / 434.6 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006665/0.2589, allocations: 458.9 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.2591, allocations: 74.55 kB / 435.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.2593, allocations: 40.83 kB / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.2593, allocations: 0 / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.2593, allocations: 38.56 kB / 435.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.2593, allocations: 7.938 kB / 435.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004053/0.2597, allocations: 129.6 kB / 435.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.2597, allocations: 51.41 kB / 435.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2599, allocations: 129.8 kB / 435.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2599, allocations: 29.7 kB / 435.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.2599, allocations: 111.9 kB / 435.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.26, allocations: 23.8 kB / 435.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.26, allocations: 37.66 kB / 435.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2602, allocations: 326.8 kB / 436 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.2603, allocations: 23.98 kB / 436 MB, free: 1.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.2604, allocations: 68.27 kB / 436.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.2606, allocations: 104.2 kB / 436.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2606, allocations: 0 / 436.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000299/0.2609, allocations: 141.4 kB / 436.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.261, allocations: 4 kB / 436.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.261, allocations: 7.938 kB / 436.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.261, allocations: 0 / 436.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.2611, allocations: 28.11 kB / 436.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2611, allocations: 8 kB / 436.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.521e-05/0.2612, allocations: 7.984 kB / 436.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2612, allocations: 8 kB / 436.4 MB, free: 1.082 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.807e-05/0.2613, allocations: 125.7 kB / 436.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.2614, allocations: 7.953 kB / 436.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.2614, allocations: 16.36 kB / 436.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2614, allocations: 0 / 436.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2614, allocations: 0 / 436.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.2614, allocations: 0 / 436.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.2616, allocations: 168.6 kB / 436.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2616, allocations: 0 / 436.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.2617, allocations: 23.98 kB / 436.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2618, allocations: 0 / 436.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2618, allocations: 7.969 kB / 436.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2618, allocations: 0 / 436.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2618, allocations: 0 / 436.8 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.2622, allocations: 247.3 kB / 437 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.2622, allocations: 7.953 kB / 437 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2622, allocations: 7.938 kB / 437 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.2623, allocations: 8.031 kB / 437 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.2623, allocations: 4 kB / 437 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.2623, allocations: 4 kB / 437 MB, free: 404 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.259e-05/0.2624, allocations: 97.78 kB / 437.1 MB, free: 308 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2624, allocations: 4 kB / 437.1 MB, free: 304 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.2626, allocations: 23.94 kB / 437.1 MB, free: 280 kB / 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.0006941/0.2633, allocations: 0.7592 MB / 437.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.2636, allocations: 83.91 kB / 438 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2636, allocations: 4.281 kB / 438 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.2637, allocations: 27.98 kB / 438 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.264, allocations: 24.17 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.266, allocations: 1.738 MB / 439.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.085e-05/0.2661, allocations: 96.08 kB / 439.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.724e-05/0.2662, allocations: 8.422 kB / 439.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.2662, allocations: 35.42 kB / 439.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2662, allocations: 0 / 439.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.2957, allocations: 3.001 MB / 442.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.67, allocations: 3.453 kB / 442.9 MB, free: 10.5 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.061410622001858]