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.001129/0.001129, allocations: 96.62 kB / 15.74 MB, free: 424 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.001411/0.001411, allocations: 178 kB / 16.63 MB, free: 6.434 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.551/1.551, allocations: 205.4 MB / 222.8 MB, free: 5.621 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.09395/0.09395, allocations: 12.6 MB / 283.7 MB, free: 8.691 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.0006906/0.0006906, allocations: 16 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1088, allocations: 50.39 MB / 394.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.002508/0.1114, allocations: 1.729 MB / 396.7 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1126, allocations: 0.5587 MB / 397.2 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.1128, allocations: 0 / 397.2 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.1129, allocations: 19.8 kB / 397.2 MB, free: 468 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.1132, allocations: 59.61 kB / 397.3 MB, free: 408 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.1134, allocations: 35.95 kB / 397.3 MB, free: 372 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.1137, allocations: 239.1 kB / 397.6 MB, free: 132 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1139, allocations: 44.86 kB / 397.6 MB, free: 92 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1141, allocations: 95.55 kB / 397.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1142, allocations: 115.3 kB / 397.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.1143, allocations: 12 kB / 397.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.96e-05/0.1143, allocations: 8 kB / 397.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.1144, allocations: 55.64 kB / 397.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.1145, allocations: 61.52 kB / 397.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.1147, allocations: 163.9 kB / 398.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.1147, allocations: 0 / 398.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-05/0.1147, allocations: 4 kB / 398.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.1147, allocations: 0 / 398.1 MB, free: 15.58 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.001125/0.1159, allocations: 0.5643 MB / 398.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1159, allocations: 8.031 kB / 398.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.116, allocations: 35.53 kB / 398.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.1164, allocations: 303 kB / 399 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.1164, allocations: 12 kB / 399 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.1165, allocations: 15.94 kB / 399 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.1168, allocations: 126.2 kB / 399.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1168, allocations: 0 / 399.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.1168, allocations: 4 kB / 399.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.1168, allocations: 4 kB / 399.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.117, allocations: 79.95 kB / 399.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008671/0.1179, allocations: 0.5276 MB / 399.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.1184, allocations: 186.7 kB / 400 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.1185, allocations: 56.84 kB / 400 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.1186, allocations: 0 / 400 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1186, allocations: 42.52 kB / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1186, allocations: 0 / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0016/0.1202, allocations: 0.6766 MB / 400.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1203, allocations: 51.41 kB / 400.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.1207, allocations: 336.6 kB / 401.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1207, allocations: 25.7 kB / 401.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1209, allocations: 160.3 kB / 401.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/0.1209, allocations: 59.11 kB / 401.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-06/0.121, allocations: 0 / 401.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1211, allocations: 350.8 kB / 401.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1213, allocations: 60.34 kB / 401.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1214, allocations: 60.73 kB / 401.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1216, allocations: 68.92 kB / 401.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1216, allocations: 0 / 401.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003672/0.1219, allocations: 221.5 kB / 402.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.122, allocations: 8 kB / 402.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.122, allocations: 0 / 402.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.122, allocations: 0 / 402.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.1223, allocations: 67.83 kB / 402.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1223, allocations: 4 kB / 402.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.1224, allocations: 4 kB / 402.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.1225, allocations: 8 kB / 402.2 MB, free: 11.23 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.0001524/0.1226, allocations: 141.5 kB / 402.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.1227, allocations: 35.58 kB / 402.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.1232, allocations: 223.9 kB / 402.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1232, allocations: 7.938 kB / 402.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1232, allocations: 0 / 402.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1232, allocations: 0 / 402.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.1236, allocations: 329.4 kB / 402.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/0.1236, allocations: 4 kB / 402.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.1239, allocations: 63.89 kB / 403 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1239, allocations: 3.953 kB / 403 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.124, allocations: 7.984 kB / 403 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.124, allocations: 4 kB / 403 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.124, allocations: 0 / 403 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.1246, allocations: 387 kB / 403.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.1247, allocations: 108.8 kB / 403.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.1247, allocations: 11.95 kB / 403.5 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.1249, allocations: 7.984 kB / 403.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.1249, allocations: 7.984 kB / 403.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.125, allocations: 11.94 kB / 403.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.1252, allocations: 247 kB / 403.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1252, allocations: 8 kB / 403.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1255, allocations: 44 kB / 403.8 MB, free: 9.508 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.0001071/0.1256, allocations: 91.25 kB / 403.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003269/0.126, allocations: 160.4 kB / 404 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.126, allocations: 0 / 404 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1261, allocations: 91.89 kB / 404.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1265, allocations: 37.05 kB / 404.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1279, allocations: 0.8538 MB / 405 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.1283, allocations: 0.7638 MB / 405.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.1284, allocations: 34.27 kB / 405.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.222e-05/0.1285, allocations: 31.36 kB / 405.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1286, allocations: 0 / 405.9 MB, free: 7.395 MB / 302.1 MB Notification: Performance of Templates: time 0.005666/0.1342, allocations: 2.431 MB / 408.3 MB, free: 4.961 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