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.002136/0.002136, allocations: 123.9 kB / 17.79 MB, free: 5.285 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.002752/0.002752, allocations: 185.3 kB / 20.73 MB, free: 2.355 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.503/1.503, allocations: 225.6 MB / 249.1 MB, free: 3.727 MB / 190.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.001524/0.001524, allocations: 47.92 kB / 365.7 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003642/0.1128, allocations: 2.096 MB / 419.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1139, allocations: 0.5535 MB / 420.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.114, allocations: 0 / 420.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.1141, allocations: 23.67 kB / 420.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.1144, allocations: 87.41 kB / 420.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.1146, allocations: 55.86 kB / 420.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1149, allocations: 255.1 kB / 420.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1151, allocations: 44.72 kB / 420.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1152, allocations: 103.4 kB / 421 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1154, allocations: 135.2 kB / 421.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.1154, allocations: 20 kB / 421.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.862e-05/0.1155, allocations: 20 kB / 421.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1156, allocations: 67.75 kB / 421.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1157, allocations: 123.1 kB / 421.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.116, allocations: 230.8 kB / 421.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.116, allocations: 7.938 kB / 421.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.116, allocations: 0 / 421.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.116, allocations: 4 kB / 421.6 MB, free: 8.809 MB / 350.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.001102/0.1171, allocations: 0.607 MB / 422.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.1172, allocations: 11.89 kB / 422.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.1172, allocations: 46.73 kB / 422.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.1173, allocations: 40.7 kB / 422.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.1177, allocations: 300.4 kB / 422.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1177, allocations: 11.94 kB / 422.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.1177, allocations: 19.89 kB / 422.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.118, allocations: 126.2 kB / 422.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.118, allocations: 0 / 422.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.118, allocations: 0 / 422.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.118, allocations: 4 kB / 422.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1182, allocations: 75.95 kB / 422.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008597/0.1191, allocations: 0.5237 MB / 423.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.1196, allocations: 178.7 kB / 423.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.1197, allocations: 65.02 kB / 423.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1197, allocations: 0 / 423.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1198, allocations: 38.56 kB / 423.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1198, allocations: 0 / 423.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001586/0.1214, allocations: 0.6689 MB / 424.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1214, allocations: 51.41 kB / 424.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.1218, allocations: 336.5 kB / 424.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1218, allocations: 25.7 kB / 424.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1219, allocations: 164.3 kB / 424.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.122, allocations: 75.36 kB / 424.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.1221, allocations: 29.72 kB / 425 MB, free: 5.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1222, allocations: 342.7 kB / 425.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1224, allocations: 63.97 kB / 425.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1225, allocations: 55.98 kB / 425.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1228, allocations: 150.6 kB / 425.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1228, allocations: 8 kB / 425.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003687/0.1232, allocations: 209.4 kB / 425.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1232, allocations: 4 kB / 425.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1232, allocations: 0 / 425.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1232, allocations: 0 / 425.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.1235, allocations: 71.83 kB / 425.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1235, allocations: 0 / 425.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.1236, allocations: 7.938 kB / 425.9 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1237, allocations: 12 kB / 425.9 MB, free: 4.258 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.0001359/0.1238, allocations: 129.8 kB / 426 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.1239, allocations: 31.81 kB / 426 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.1243, allocations: 216.6 kB / 426.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.1243, allocations: 7.938 kB / 426.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1243, allocations: 0 / 426.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1243, allocations: 3.984 kB / 426.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.1247, allocations: 317.5 kB / 426.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1247, allocations: 4 kB / 426.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.1251, allocations: 59.89 kB / 426.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1251, allocations: 4 kB / 426.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.1251, allocations: 7.984 kB / 426.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1251, allocations: 3.938 kB / 426.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1251, allocations: 0 / 426.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.1258, allocations: 397.3 kB / 427 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1259, allocations: 109 kB / 427.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.1259, allocations: 7.984 kB / 427.1 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.1261, allocations: 7.938 kB / 427.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.1261, allocations: 15.92 kB / 427.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1262, allocations: 7.984 kB / 427.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002866/0.1264, allocations: 247.1 kB / 427.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1264, allocations: 3.938 kB / 427.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1267, allocations: 40 kB / 427.4 MB, free: 2.566 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.000942/0.1277, allocations: 0.9329 MB / 428.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.128, allocations: 143.9 kB / 428.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.128, allocations: 4 kB / 428.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1281, allocations: 79.91 kB / 428.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.1285, allocations: 37.33 kB / 428.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.1326, allocations: 3.076 MB / 431.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.133, allocations: 0.7712 MB / 432.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.1331, allocations: 30.28 kB / 432.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.1333, allocations: 95.39 kB / 432.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1333, allocations: 0 / 432.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.1648, allocations: 5.716 MB / 438.3 MB, free: 7.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/8.92, allocations: 10.58 kB / 438.3 MB, free: 7.758 MB / 366.1 MB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.819440039806068]