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.008389/0.008389, allocations: 88.56 kB / 15.91 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 199.7 kB / 16.83 MB, free: 6.238 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.594/1.594, allocations: 205.1 MB / 222.7 MB, free: 4.727 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.08074/0.08074, allocations: 12.61 MB / 282.6 MB, free: 8.84 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.001897/0.001898, allocations: 75.89 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1183, allocations: 49.4 MB / 392.2 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003984/0.1223, allocations: 2.137 MB / 394.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1234, allocations: 0.5934 MB / 394.9 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1235, allocations: 4 kB / 394.9 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.1237, allocations: 19.73 kB / 394.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.1239, allocations: 55.61 kB / 395 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.1241, allocations: 51.89 kB / 395 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.1244, allocations: 251.2 kB / 395.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.1246, allocations: 52.84 kB / 395.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.1249, allocations: 103.4 kB / 395.4 MB, free: 444 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1251, allocations: 139.2 kB / 395.6 MB, free: 304 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.1251, allocations: 16 kB / 395.6 MB, free: 288 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.1252, allocations: 16 kB / 395.6 MB, free: 272 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1253, allocations: 47.75 kB / 395.7 MB, free: 224 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.1254, allocations: 119.1 kB / 395.8 MB, free: 104 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.1257, allocations: 211 kB / 396 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1257, allocations: 0 / 396 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1257, allocations: 0 / 396 MB, free: 15.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.1258, allocations: 0 / 396 MB, free: 15.89 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.001304/0.1271, allocations: 0.611 MB / 396.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1271, allocations: 16.03 kB / 396.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.56e-05/0.1272, allocations: 28.56 kB / 396.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.1276, allocations: 308.1 kB / 396.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1276, allocations: 12.12 kB / 397 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.1277, allocations: 12 kB / 397 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.128, allocations: 130.2 kB / 397.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.128, allocations: 0 / 397.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.1281, allocations: 11.92 kB / 397.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1281, allocations: 4 kB / 397.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.1283, allocations: 71.97 kB / 397.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008776/0.1291, allocations: 0.5275 MB / 397.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.1297, allocations: 182.7 kB / 397.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.1299, allocations: 56.84 kB / 397.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1299, allocations: 3.938 kB / 397.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1299, allocations: 42.55 kB / 398 MB, free: 13.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.1299, allocations: 0 / 398 MB, free: 13.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001609/0.1315, allocations: 0.6535 MB / 398.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1316, allocations: 59.41 kB / 398.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.132, allocations: 340.5 kB / 399 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1321, allocations: 29.7 kB / 399.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1322, allocations: 152.4 kB / 399.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.1323, allocations: 55.11 kB / 399.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.1324, allocations: 41.64 kB / 399.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.1326, allocations: 342.8 kB / 399.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1328, allocations: 71.91 kB / 399.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1329, allocations: 55.98 kB / 399.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.1332, allocations: 152.7 kB / 399.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1332, allocations: 0 / 399.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003536/0.1335, allocations: 209.6 kB / 400.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1336, allocations: 4 kB / 400.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1336, allocations: 0 / 400.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1336, allocations: 4 kB / 400.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.1339, allocations: 67.83 kB / 400.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.1339, allocations: 7.938 kB / 400.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.1341, allocations: 8 kB / 400.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.1341, allocations: 8 kB / 400.2 MB, free: 11.38 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.1343, allocations: 125.8 kB / 400.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.1343, allocations: 27.62 kB / 400.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.1348, allocations: 229.6 kB / 400.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1348, allocations: 0 / 400.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.1348, allocations: 7.938 kB / 400.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1348, allocations: 3.984 kB / 400.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.1353, allocations: 317.5 kB / 400.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1353, allocations: 3.984 kB / 400.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.1357, allocations: 51.97 kB / 401 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.1357, allocations: 7.984 kB / 401 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.1357, allocations: 7.938 kB / 401 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1357, allocations: 0 / 401 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1358, allocations: 7.938 kB / 401 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007559/0.1365, allocations: 386.1 kB / 401.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1366, allocations: 112.8 kB / 401.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.1367, allocations: 0 / 401.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.1369, allocations: 8 kB / 401.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.137, allocations: 11.92 kB / 401.5 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.137, allocations: 11.98 kB / 401.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002758/0.1373, allocations: 251.1 kB / 401.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1373, allocations: 0 / 401.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.1376, allocations: 44 kB / 401.8 MB, free: 9.703 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 (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.0001568/0.1378, allocations: 103.2 kB / 401.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.1381, allocations: 156 kB / 402 MB, free: 9.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1382, allocations: 3.938 kB / 402 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.1383, allocations: 87.91 kB / 402.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.1388, allocations: 41.03 kB / 402.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.1404, allocations: 0.8101 MB / 403 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.1409, allocations: 0.7677 MB / 403.8 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.141, allocations: 30.28 kB / 403.8 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.1411, allocations: 27.42 kB / 403.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1411, allocations: 0 / 403.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of Templates: time 0.006448/0.1476, allocations: 2.545 MB / 406.4 MB, free: 5.082 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile (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) 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