Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|invMixingUnit.T|invMixingUnit.T_c|mixingUnit.c",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|invMixingUnit.T|invMixingUnit.T_c|mixingUnit.c",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 96.05 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 177.7 kB / 16.61 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07778/0.07778, allocations: 12.6 MB / 283.6 MB, free: 8.707 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006948/0.0006948, allocations: 20 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1228, allocations: 50.37 MB / 394.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002615/0.1255, allocations: 1.714 MB / 396.6 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.1266, allocations: 0.5743 MB / 397.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1267, allocations: 0 / 397.2 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.1268, allocations: 15.8 kB / 397.2 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.1271, allocations: 55.83 kB / 397.3 MB, free: 432 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.1273, allocations: 55.8 kB / 397.3 MB, free: 376 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.1275, allocations: 163.7 kB / 397.5 MB, free: 212 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1277, allocations: 52.88 kB / 397.5 MB, free: 164 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.1278, allocations: 87.5 kB / 397.6 MB, free: 76 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.128, allocations: 119.5 kB / 397.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.128, allocations: 16 kB / 397.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.707e-05/0.1281, allocations: 8 kB / 397.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.1281, allocations: 47.75 kB / 397.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.1282, allocations: 57.58 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1284, allocations: 163.9 kB / 398 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1284, allocations: 0 / 398 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1284, allocations: 0 / 398 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1284, allocations: 0 / 398 MB, free: 15.66 MB / 302.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.001123/0.1295, allocations: 0.5682 MB / 398.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1296, allocations: 12.03 kB / 398.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.1297, allocations: 35.53 kB / 398.6 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.1301, allocations: 303 kB / 398.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1301, allocations: 8 kB / 398.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.1302, allocations: 12 kB / 398.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.1304, allocations: 130.1 kB / 399.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1304, allocations: 0 / 399.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.1305, allocations: 8 kB / 399.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1305, allocations: 0 / 399.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.1307, allocations: 87.95 kB / 399.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007814/0.1315, allocations: 0.5198 MB / 399.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/0.1319, allocations: 178.7 kB / 399.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1319, allocations: 0 / 399.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.132, allocations: 34.56 kB / 399.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.32e-07/0.132, allocations: 0 / 399.9 MB, free: 13.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001471/0.1335, allocations: 0.6922 MB / 400.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1335, allocations: 51.41 kB / 400.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.1339, allocations: 336.5 kB / 401 MB, free: 12.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1339, allocations: 29.7 kB / 401 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.134, allocations: 156.3 kB / 401.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1341, allocations: 63.09 kB / 401.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.1342, allocations: 8 kB / 401.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1343, allocations: 338.8 kB / 401.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1344, allocations: 60.34 kB / 401.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1346, allocations: 68.59 kB / 401.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.1347, allocations: 68.92 kB / 401.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1347, allocations: 4 kB / 401.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003628/0.1351, allocations: 217.5 kB / 401.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1351, allocations: 5.25 kB / 402 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1351, allocations: 4 kB / 402 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.1352, allocations: 4 kB / 402 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.1355, allocations: 63.89 kB / 402 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1355, allocations: 0 / 402 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.1356, allocations: 12 kB / 402 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1357, allocations: 7.984 kB / 402 MB, free: 11.36 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.1358, allocations: 133.6 kB / 402.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.1358, allocations: 31.58 kB / 402.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.1363, allocations: 232.5 kB / 402.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1363, allocations: 0 / 402.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1363, allocations: 0 / 402.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.1363, allocations: 7.984 kB / 402.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.1367, allocations: 325.4 kB / 402.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1367, allocations: 0 / 402.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.137, allocations: 59.95 kB / 402.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.137, allocations: 0 / 402.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.1371, allocations: 7.953 kB / 402.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1371, allocations: 0 / 402.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1371, allocations: 0 / 402.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.1376, allocations: 398.1 kB / 403.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.1377, allocations: 116.7 kB / 403.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.1378, allocations: 4 kB / 403.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.138, allocations: 7.953 kB / 403.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.138, allocations: 15.98 kB / 403.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1381, allocations: 7.984 kB / 403.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002725/0.1383, allocations: 251.1 kB / 403.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1384, allocations: 0 / 403.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1386, allocations: 44 kB / 403.6 MB, free: 9.648 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001127/0.1388, allocations: 99.17 kB / 403.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.1391, allocations: 156.5 kB / 403.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1391, allocations: 0 / 403.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.1393, allocations: 87.91 kB / 404 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.1396, allocations: 33.02 kB / 404 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.141, allocations: 0.85 MB / 404.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1413, allocations: 0.7677 MB / 405.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.1415, allocations: 42.2 kB / 405.7 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/0.1416, allocations: 31.42 kB / 405.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1416, allocations: 0 / 405.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of Templates: time 0.005784/0.1474, allocations: 2.415 MB / 408.1 MB, free: 5.113 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches