Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.001306/0.001306, allocations: 112.2 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.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.001409/0.001409, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 43.94 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2485, allocations: 53.36 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003406/0.2519, allocations: 2.117 MB / 434.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009997/0.2529, allocations: 0.5768 MB / 434.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.253, allocations: 4 kB / 434.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.2532, allocations: 31.61 kB / 434.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.2534, allocations: 79.41 kB / 434.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.2536, allocations: 47.92 kB / 434.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.2539, allocations: 259.1 kB / 435.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2541, allocations: 44.89 kB / 435.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.2543, allocations: 115.4 kB / 435.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.2545, allocations: 135.2 kB / 435.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.2545, allocations: 24 kB / 435.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.455e-05/0.2546, allocations: 20 kB / 435.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.2547, allocations: 67.67 kB / 435.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2548, allocations: 119.2 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.255, allocations: 235.1 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2551, allocations: 4 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2551, allocations: 0 / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.2551, allocations: 0 / 435.8 MB, free: 3.012 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001055/0.2561, allocations: 0.5318 MB / 436.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2562, allocations: 12.03 kB / 436.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.425e-05/0.2562, allocations: 4.188 kB / 436.3 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.421e-05/0.2562, allocations: 46.73 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.2563, allocations: 28.75 kB / 436.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.2566, allocations: 262.2 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2566, allocations: 8 kB / 436.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.2567, allocations: 11.98 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.2569, allocations: 129.6 kB / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2569, allocations: 0 / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.257, allocations: 11.94 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.257, allocations: 4 kB / 436.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.2572, allocations: 71.95 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.258, allocations: 499.3 kB / 437.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.2585, allocations: 186.6 kB / 437.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.2586, allocations: 60.83 kB / 437.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.2586, allocations: 0 / 437.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.2586, allocations: 38.56 kB / 437.7 MB, free: 1.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 9.22e-07/0.2586, allocations: 0 / 437.7 MB, free: 1.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001464/0.2601, allocations: 0.5827 MB / 438.3 MB, free: 396 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.2601, allocations: 59.41 kB / 438.3 MB, free: 324 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.2605, allocations: 332.6 kB / 438.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.2606, allocations: 29.7 kB / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2607, allocations: 156.3 kB / 438.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.2607, allocations: 63.47 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.731e-05/0.2608, allocations: 33.72 kB / 438.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.261, allocations: 346.7 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.2611, allocations: 59.97 kB / 439.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2612, allocations: 65.84 kB / 439.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.2615, allocations: 146.3 kB / 439.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2615, allocations: 0 / 439.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003613/0.2619, allocations: 205.4 kB / 439.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2619, allocations: 8 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2619, allocations: 0 / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2619, allocations: 3.938 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.2622, allocations: 67.89 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2622, allocations: 4 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.2623, allocations: 15.94 kB / 439.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.2624, allocations: 7.984 kB / 439.8 MB, free: 14.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 21 * 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.0001284/0.2625, allocations: 129.8 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.2625, allocations: 27.81 kB / 440 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.263, allocations: 224.5 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.263, allocations: 7.938 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.263, allocations: 0 / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.263, allocations: 7.969 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.2634, allocations: 288.5 kB / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2634, allocations: 0 / 440.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.2637, allocations: 59.95 kB / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2638, allocations: 0 / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.2638, allocations: 11.92 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.2638, allocations: 3.938 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2638, allocations: 0 / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.2644, allocations: 395.6 kB / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.2644, allocations: 27.86 kB / 441 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.2645, allocations: 11.98 kB / 441 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.2646, allocations: 15.88 kB / 441 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.2647, allocations: 11.97 kB / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.2647, allocations: 4 kB / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002951/0.265, allocations: 247.1 kB / 441.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.265, allocations: 0 / 441.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003322/0.2653, allocations: 48 kB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * 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 (18): * Single equations (assignments): 18 * 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.001057/0.2664, allocations: 0.923 MB / 442.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.2667, allocations: 154.1 kB / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2667, allocations: 0 / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.2669, allocations: 82.72 kB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.2673, allocations: 40.11 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.2713, allocations: 3.057 MB / 445.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.2717, allocations: 0.7675 MB / 446.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.2718, allocations: 30.28 kB / 446.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.272, allocations: 95.39 kB / 446.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.272, allocations: 0 / 446.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.2994, allocations: 5.93 MB / 452.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.09, allocations: 16.56 kB / 452.4 MB, free: 2.191 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --stepSize=0.09996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.579884064965881]