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.001271/0.001271, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001434/0.001434, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.365/1.365, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.001473/0.001473, allocations: 43.92 kB / 378.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2351, allocations: 53.36 MB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003241/0.2383, allocations: 2.007 MB / 433.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2393, allocations: 0.5418 MB / 434.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2395, allocations: 0 / 434.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.2396, allocations: 23.67 kB / 434.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.2398, allocations: 79.42 kB / 434.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.24, allocations: 55.91 kB / 434.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.2404, allocations: 259 kB / 434.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.2405, allocations: 48.88 kB / 434.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.2407, allocations: 111.4 kB / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.2409, allocations: 139.2 kB / 435.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.2409, allocations: 20 kB / 435.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.427e-05/0.241, allocations: 24 kB / 435.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.2411, allocations: 59.69 kB / 435.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.2412, allocations: 103.4 kB / 435.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.2415, allocations: 234.7 kB / 435.6 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.2415, allocations: 4 kB / 435.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2415, allocations: 0 / 435.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2415, allocations: 0 / 435.6 MB, free: 2.969 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.00112/0.2426, allocations: 0.5318 MB / 436.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2427, allocations: 12.03 kB / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.618e-05/0.2427, allocations: 4.188 kB / 436.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.2427, allocations: 42.73 kB / 436.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.2428, allocations: 36.75 kB / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.2432, allocations: 254.2 kB / 436.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2432, allocations: 8 kB / 436.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.2432, allocations: 15.98 kB / 436.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.2435, allocations: 121.6 kB / 436.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2435, allocations: 0 / 436.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.2435, allocations: 8 kB / 436.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2435, allocations: 0 / 436.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.2437, allocations: 83.89 kB / 436.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007939/0.2445, allocations: 467.4 kB / 437.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.245, allocations: 181.9 kB / 437.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2451, allocations: 60.77 kB / 437.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2452, allocations: 8 kB / 437.4 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.2452, allocations: 30.56 kB / 437.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.2452, allocations: 0 / 437.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001498/0.2467, allocations: 0.593 MB / 438 MB, free: 388 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2467, allocations: 59.41 kB / 438 MB, free: 316 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.2471, allocations: 328.6 kB / 438.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.2472, allocations: 29.7 kB / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.2473, allocations: 164.3 kB / 438.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.2473, allocations: 55.48 kB / 438.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.2474, allocations: 37.7 kB / 438.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2476, allocations: 342.8 kB / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.2477, allocations: 59.97 kB / 439 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.2478, allocations: 59.97 kB / 439.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.2481, allocations: 151.8 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2481, allocations: 4 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003809/0.2485, allocations: 217.4 kB / 439.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2485, allocations: 4 kB / 439.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2485, allocations: 0 / 439.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2485, allocations: 3.938 kB / 439.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.2489, allocations: 59.91 kB / 439.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2489, allocations: 0 / 439.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.249, allocations: 15.92 kB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2491, allocations: 8 kB / 439.6 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.0001347/0.2492, allocations: 125.8 kB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.2493, allocations: 35.75 kB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.2497, allocations: 224.5 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.2497, allocations: 7.938 kB / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2497, allocations: 0 / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2497, allocations: 0 / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.2501, allocations: 252.6 kB / 440.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2501, allocations: 0 / 440.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.2505, allocations: 63.95 kB / 440.2 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.2505, allocations: 7.984 kB / 440.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.2505, allocations: 4 kB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.2505, allocations: 3.938 kB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2505, allocations: 7.938 kB / 440.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.2511, allocations: 383 kB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.2512, allocations: 27.8 kB / 440.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.2512, allocations: 12.05 kB / 440.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.2514, allocations: 11.94 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.2515, allocations: 19.91 kB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2515, allocations: 4 kB / 440.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.2518, allocations: 247.1 kB / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2518, allocations: 0 / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000274/0.252, allocations: 44 kB / 441 MB, free: 13.23 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.0008762/0.2529, allocations: 0.922 MB / 441.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.2532, allocations: 147.9 kB / 442.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2532, allocations: 4 kB / 442.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.2534, allocations: 83.89 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.2538, allocations: 31.03 kB / 442.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.258, allocations: 3.068 MB / 445.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.2581, allocations: 155.5 kB / 445.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.2582, allocations: 34.27 kB / 445.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.2584, allocations: 91.41 kB / 445.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2584, allocations: 0 / 445.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.2859, allocations: 6.06 MB / 451.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.27, allocations: 11.88 kB / 451.6 MB, free: 2.734 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.723281344980933]