Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001681/0.001681, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002012/0.002012, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003038/0.003038, allocations: 55.91 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1211, allocations: 53.32 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.004222/0.1253, allocations: 2.236 MB / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1267, allocations: 0.6121 MB / 429.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.1269, allocations: 7.938 kB / 429.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.1271, allocations: 27.66 kB / 429.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.1274, allocations: 79.36 kB / 429.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1278, allocations: 67.86 kB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.1281, allocations: 279.1 kB / 430 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.1283, allocations: 56.69 kB / 430 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.1285, allocations: 115.4 kB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1288, allocations: 151.2 kB / 430.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.1288, allocations: 24 kB / 430.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.686e-05/0.1288, allocations: 24 kB / 430.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.814e-05/0.1289, allocations: 63.69 kB / 430.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.129, allocations: 127.1 kB / 430.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.1294, allocations: 262.6 kB / 430.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1294, allocations: 4 kB / 430.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1294, allocations: 3.938 kB / 430.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1294, allocations: 0 / 430.8 MB, free: 0.8594 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001203/0.1306, allocations: 0.619 MB / 431.4 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1306, allocations: 11.97 kB / 431.4 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.675e-05/0.1307, allocations: 50.73 kB / 431.5 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.1308, allocations: 36.7 kB / 431.5 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.1312, allocations: 316.6 kB / 431.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1312, allocations: 16.2 kB / 431.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.1313, allocations: 16 kB / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.132, allocations: 369.1 kB / 432.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.132, allocations: 7.938 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.132, allocations: 4 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.132, allocations: 4 kB / 432.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.1322, allocations: 87.94 kB / 432.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/0.1329, allocations: 0.5249 MB / 432.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/0.1337, allocations: 309.6 kB / 433.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.1339, allocations: 138 kB / 433.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.1339, allocations: 4 kB / 433.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1339, allocations: 34.56 kB / 433.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.1339, allocations: 0 / 433.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.00243/0.1364, allocations: 1.352 MB / 434.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.1365, allocations: 130.8 kB / 434.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.1369, allocations: 332.5 kB / 435.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.1369, allocations: 29.7 kB / 435.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.137, allocations: 145.1 kB / 435.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.1371, allocations: 55.67 kB / 435.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/0.1372, allocations: 74.09 kB / 435.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1373, allocations: 346.8 kB / 435.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1375, allocations: 72.83 kB / 435.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.1378, allocations: 314.8 kB / 436.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.1383, allocations: 420.9 kB / 436.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1383, allocations: 0 / 436.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006304/0.1389, allocations: 413.7 kB / 436.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1389, allocations: 12.03 kB / 436.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.1389, allocations: 12 kB / 436.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.139, allocations: 8 kB / 437 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.1392, allocations: 99.83 kB / 437.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.1392, allocations: 15.94 kB / 437.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.1395, allocations: 23.88 kB / 437.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.1395, allocations: 28 kB / 437.1 MB, free: 9.902 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0001924/0.1397, allocations: 169.5 kB / 437.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004886/0.1402, allocations: 296.9 kB / 437.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000656/0.1408, allocations: 379.5 kB / 437.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1408, allocations: 7.938 kB / 438 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1408, allocations: 4 kB / 438 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1408, allocations: 3.984 kB / 438 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.1412, allocations: 317.3 kB / 438.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1413, allocations: 0 / 438.3 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.1418, allocations: 132 kB / 438.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1418, allocations: 0 / 438.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.1418, allocations: 8 kB / 438.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.1419, allocations: 4 kB / 438.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.1419, allocations: 7.922 kB / 438.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1429, allocations: 0.715 MB / 439.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.143, allocations: 120.8 kB / 439.3 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.143, allocations: 12 kB / 439.3 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.1433, allocations: 12 kB / 439.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.1433, allocations: 8.047 kB / 439.3 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.1433, allocations: 16 kB / 439.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.1436, allocations: 243.1 kB / 439.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1436, allocations: 0 / 439.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004507/0.1441, allocations: 64 kB / 439.6 MB, free: 7.309 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.001316/0.1454, allocations: 1.284 MB / 440.9 MB, free: 5.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005692/0.1459, allocations: 285.5 kB / 441.2 MB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1459, allocations: 0 / 441.2 MB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.146, allocations: 28.36 kB / 441.2 MB, free: 5.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.1468, allocations: 200.5 kB / 441.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/0.1516, allocations: 3.818 MB / 445.2 MB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.1521, allocations: 0.8034 MB / 446 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1522, allocations: 43.25 kB / 446.1 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.1524, allocations: 119.4 kB / 446.2 MB, free: 372 kB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1524, allocations: 0 / 446.2 MB, free: 372 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2262/0.3786, allocations: 7.171 MB / 453.3 MB, free: 24.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.426, allocations: 1.781 kB / 453.3 MB, free: 24.23 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit_fmu --startTime=0 --stopTime=300 --stepSize=0.0545355 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_ControlledMixingUnit.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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: 10.947136539965868]