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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.000868/0.0008681, allocations: 175.6 kB / 16.77 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205 MB / 222.6 MB, free: 9.152 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007987/0.0007987, allocations: 88.36 kB / 270.5 MB, free: 8.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07117/0.07117, allocations: 12.58 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003386, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06363/0.06398, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.001604/0.06563, allocations: 1.797 MB / 443.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.0664, allocations: 0.5895 MB / 444.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.06653, allocations: 7.938 kB / 444.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.968e-05/0.06664, allocations: 11.86 kB / 444.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.06687, allocations: 59.5 kB / 444.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.06701, allocations: 51.94 kB / 444.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.06722, allocations: 255.1 kB / 444.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.06733, allocations: 53 kB / 444.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.06745, allocations: 87.45 kB / 444.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.06757, allocations: 131.2 kB / 444.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.06761, allocations: 8 kB / 444.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.692e-05/0.06764, allocations: 16 kB / 444.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.684e-05/0.06771, allocations: 47.7 kB / 444.8 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.06778, allocations: 107.1 kB / 444.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.06792, allocations: 219 kB / 445.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.06793, allocations: 0 / 445.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.06794, allocations: 0 / 445.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.06795, allocations: 4 kB / 445.1 MB, free: 12.96 MB / 298.7 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.0007828/0.06874, allocations: 0.5644 MB / 445.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.06878, allocations: 8.031 kB / 445.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.06884, allocations: 40.47 kB / 445.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.0691, allocations: 308.1 kB / 446 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.06912, allocations: 12.12 kB / 446.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.06916, allocations: 12 kB / 446.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.06936, allocations: 130.3 kB / 446.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.06938, allocations: 0 / 446.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.0694, allocations: 11.98 kB / 446.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.06941, allocations: 0 / 446.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.06956, allocations: 91.89 kB / 446.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.07017, allocations: 0.5236 MB / 446.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.07058, allocations: 178.7 kB / 447 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.07069, allocations: 60.84 kB / 447 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.07072, allocations: 7.938 kB / 447.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.07075, allocations: 34.56 kB / 447.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.07075, allocations: 0 / 447.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001171/0.07193, allocations: 0.6738 MB / 447.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.292e-05/0.07195, allocations: 59.34 kB / 447.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.07223, allocations: 336.6 kB / 448.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.07225, allocations: 25.7 kB / 448.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.07232, allocations: 168.3 kB / 448.3 MB, free: 9.484 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.737e-05/0.07236, allocations: 55.11 kB / 448.4 MB, free: 9.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.07239, allocations: 25.7 kB / 448.4 MB, free: 9.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.07244, allocations: 334.8 kB / 448.7 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.07256, allocations: 63.97 kB / 448.8 MB, free: 9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/0.07267, allocations: 71.84 kB / 448.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.07289, allocations: 152.8 kB / 449 MB, free: 8.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.0729, allocations: 0 / 449 MB, free: 8.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002883/0.0732, allocations: 217.2 kB / 449.2 MB, free: 8.559 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.07322, allocations: 4 kB / 449.2 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.07323, allocations: 0 / 449.2 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.07324, allocations: 0 / 449.2 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.07351, allocations: 59.91 kB / 449.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.07353, allocations: 4 kB / 449.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.07368, allocations: 15.92 kB / 449.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.0737, allocations: 8 kB / 449.3 MB, free: 8.469 MB / 298.7 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 7.62e-05/0.07378, allocations: 133.7 kB / 449.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.07383, allocations: 27.62 kB / 449.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.07417, allocations: 235.1 kB / 449.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.07419, allocations: 0 / 449.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.07419, allocations: 0 / 449.7 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.07425, allocations: 108.8 kB / 449.8 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.07429, allocations: 4 kB / 449.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.07448, allocations: 7.984 kB / 449.8 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.07453, allocations: 19.89 kB / 449.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007354/0.07527, allocations: 336.6 kB / 450.2 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004574/0.07574, allocations: 480.8 kB / 450.7 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001203/0.07587, allocations: 76.02 kB / 450.7 MB, free: 7.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001766/0.07606, allocations: 255 kB / 451 MB, free: 6.766 MB / 298.7 MB Notification: Performance of Backend: time 3.11e-07/0.07606, allocations: 0 / 451 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004081/0.07648, allocations: 182.8 kB / 451.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of SimCode: time 0.0008833/0.07737, allocations: 1.21 MB / 452.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of Templates: time 0.004848/0.08223, allocations: 2.825 MB / 455.2 MB, free: 2.5 MB / 298.7 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/jenkins1/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