Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.001325/0.001325, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001352/0.001352, allocations: 193.6 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.357/1.357, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 47.92 kB / 370.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2237, allocations: 52.18 MB / 422.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003236/0.227, allocations: 1.986 MB / 424.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.228, allocations: 0.5185 MB / 425.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.2281, allocations: 0 / 425.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.2282, allocations: 23.67 kB / 425.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.2285, allocations: 91.34 kB / 425.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.2287, allocations: 55.84 kB / 425.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.229, allocations: 255.2 kB / 425.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.2291, allocations: 42.53 kB / 425.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.2293, allocations: 119.3 kB / 425.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.2294, allocations: 119.3 kB / 425.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.2295, allocations: 20 kB / 425.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.953e-05/0.2295, allocations: 20 kB / 425.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.511e-05/0.2296, allocations: 63.69 kB / 425.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.951e-05/0.2297, allocations: 95.33 kB / 426 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.23, allocations: 242.8 kB / 426.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.23, allocations: 0 / 426.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.23, allocations: 0 / 426.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.23, allocations: 0 / 426.2 MB, free: 10.7 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.001049/0.231, allocations: 0.5395 MB / 426.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2311, allocations: 12.03 kB / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.2311, allocations: 38.69 kB / 426.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.2312, allocations: 36.7 kB / 426.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.2316, allocations: 250.6 kB / 427.1 MB, free: 9.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.2316, allocations: 15.94 kB / 427.1 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.2316, allocations: 15.95 kB / 427.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.2319, allocations: 125.5 kB / 427.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2319, allocations: 0 / 427.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2319, allocations: 8 kB / 427.3 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2319, allocations: 0 / 427.3 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.2321, allocations: 79.95 kB / 427.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.2328, allocations: 459.5 kB / 427.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.2333, allocations: 182.7 kB / 428 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.2335, allocations: 56.77 kB / 428 MB, free: 8.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.2335, allocations: 4 kB / 428 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2335, allocations: 34.56 kB / 428 MB, free: 8.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2335, allocations: 0 / 428 MB, free: 8.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001427/0.2349, allocations: 0.5901 MB / 428.6 MB, free: 8.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.235, allocations: 59.41 kB / 428.7 MB, free: 8.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.2354, allocations: 328.6 kB / 429 MB, free: 7.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.2354, allocations: 29.7 kB / 429 MB, free: 7.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.2355, allocations: 160.4 kB / 429.2 MB, free: 7.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.2356, allocations: 67.36 kB / 429.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.2356, allocations: 33.72 kB / 429.3 MB, free: 7.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2358, allocations: 346.7 kB / 429.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.2359, allocations: 59.97 kB / 429.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.2361, allocations: 62.03 kB / 429.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.2363, allocations: 142.7 kB / 429.9 MB, free: 6.805 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2363, allocations: 3.938 kB / 429.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003694/0.2367, allocations: 209.4 kB / 430.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2367, allocations: 8 kB / 430.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2367, allocations: 3.938 kB / 430.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2367, allocations: 0 / 430.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.237, allocations: 71.83 kB / 430.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.237, allocations: 0 / 430.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.2372, allocations: 15.94 kB / 430.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.2372, allocations: 7.984 kB / 430.2 MB, free: 6.484 MB / 334.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.0001281/0.2373, allocations: 129.8 kB / 430.3 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.2374, allocations: 35.81 kB / 430.4 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/0.2378, allocations: 220.5 kB / 430.6 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.2378, allocations: 7.938 kB / 430.6 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2378, allocations: 0 / 430.6 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2378, allocations: 3.984 kB / 430.6 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.2382, allocations: 248.6 kB / 430.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2382, allocations: 0 / 430.8 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.2385, allocations: 59.89 kB / 430.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2385, allocations: 4 kB / 430.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.2386, allocations: 11.98 kB / 430.9 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.2386, allocations: 3.938 kB / 430.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2386, allocations: 4 kB / 430.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005949/0.2392, allocations: 382.2 kB / 431.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.2392, allocations: 31.86 kB / 431.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.2393, allocations: 8 kB / 431.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.2394, allocations: 11.92 kB / 431.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.2395, allocations: 19.88 kB / 431.4 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2395, allocations: 7.984 kB / 431.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002778/0.2398, allocations: 247 kB / 431.6 MB, free: 5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2398, allocations: 4 kB / 431.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.2401, allocations: 48 kB / 431.7 MB, free: 4.949 MB / 334.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.0009356/0.241, allocations: 0.9154 MB / 432.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.2413, allocations: 157.9 kB / 432.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2413, allocations: 0 / 432.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.2415, allocations: 79.91 kB / 432.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2418, allocations: 44.47 kB / 432.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.246, allocations: 3.066 MB / 435.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.2462, allocations: 163.3 kB / 436.1 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.2463, allocations: 26.28 kB / 436.1 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.2464, allocations: 95.39 kB / 436.2 MB, free: 304 kB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2464, allocations: 0 / 436.2 MB, free: 304 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.2813, allocations: 6.422 MB / 442.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.9, allocations: 0 / 442.6 MB, free: 10.08 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --stepSize=0.09996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.25112480390817]