Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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.001098/0.001098, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001175/0.001175, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9736/0.9736, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") translateModel(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|filter.x.[0-9,]+.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.051e-05, allocations: 6.25 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003021/0.003051, allocations: 2.08 MB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.004068, allocations: 0.5689 MB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.004194, allocations: 0 / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.00432, allocations: 23.67 kB / 275.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.004618, allocations: 79.41 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.004832, allocations: 55.91 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.005135, allocations: 270.9 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.005264, allocations: 48.89 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.005528, allocations: 147.5 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.005676, allocations: 107.5 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.005714, allocations: 20 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.931e-05/0.005743, allocations: 20 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.00582, allocations: 63.69 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.394e-05/0.005894, allocations: 71.69 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.006111, allocations: 159.2 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.006115, allocations: 0 / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.006116, allocations: 0 / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.006121, allocations: 4 kB / 276.6 MB, free: 13.73 MB / 266.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.0008095/0.006931, allocations: 0.6278 MB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.006976, allocations: 11.98 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.007049, allocations: 40.75 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.007362, allocations: 261.2 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.007377, allocations: 8.375 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.007415, allocations: 12.38 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.00761, allocations: 101.7 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.007618, allocations: 4 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.007633, allocations: 8 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.007643, allocations: 4 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.625e-05/0.007739, allocations: 39.91 kB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.008401, allocations: 463.2 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.008743, allocations: 135.2 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.571e-05/0.008809, allocations: 39.67 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.00883, allocations: 4 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.008854, allocations: 41.33 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.314e-06/0.008857, allocations: 0 / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.001019/0.009876, allocations: 488.4 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.009911, allocations: 63.34 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.01023, allocations: 358.3 kB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.01025, allocations: 33.7 kB / 279.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.01036, allocations: 203.1 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.01042, allocations: 59.48 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.01049, allocations: 43.36 kB / 279.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.01061, allocations: 0.5079 MB / 280.1 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.01068, allocations: 31.97 kB / 280.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.186e-05/0.01074, allocations: 27.98 kB / 280.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.01089, allocations: 90.92 kB / 280.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.01089, allocations: 0 / 280.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002348/0.01113, allocations: 165.4 kB / 280.4 MB, free: 9.676 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01114, allocations: 7.984 kB / 280.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01115, allocations: 0 / 280.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.01117, allocations: 0 / 280.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.01138, allocations: 59.91 kB / 280.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01138, allocations: 0 / 280.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/0.01146, allocations: 8 kB / 280.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.01148, allocations: 7.984 kB / 280.5 MB, free: 9.594 MB / 266.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 8.687e-05/0.01157, allocations: 160.5 kB / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.01162, allocations: 39.81 kB / 280.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.01192, allocations: 168.6 kB / 280.9 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01193, allocations: 0 / 280.9 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.01193, allocations: 3.984 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01194, allocations: 0 / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.0122, allocations: 228.5 kB / 281.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.0122, allocations: 4 kB / 281.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.01241, allocations: 51.95 kB / 281.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01241, allocations: 4 kB / 281.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.01243, allocations: 8 kB / 281.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.01243, allocations: 7.938 kB / 281.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01243, allocations: 0 / 281.2 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.01275, allocations: 347.5 kB / 281.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.01279, allocations: 39.72 kB / 281.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.01282, allocations: 0 / 281.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.01291, allocations: 11.94 kB / 281.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.01295, allocations: 11.97 kB / 281.6 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.01296, allocations: 8 kB / 281.6 MB, free: 8.449 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.01311, allocations: 259 kB / 281.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01311, allocations: 4 kB / 281.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.01329, allocations: 40 kB / 281.9 MB, free: 8.156 MB / 266.7 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.0001014/0.01339, allocations: 107.2 kB / 282 MB, free: 8.043 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.01359, allocations: 114.2 kB / 282.1 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01359, allocations: 0 / 282.1 MB, free: 7.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.01366, allocations: 59.59 kB / 282.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.01393, allocations: 37.08 kB / 282.2 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.01497, allocations: 0.613 MB / 282.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.242e-05/0.01503, allocations: 92.3 kB / 282.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.713e-05/0.0151, allocations: 26.28 kB / 282.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.01518, allocations: 32.48 kB / 283 MB, free: 7.016 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01518, allocations: 0 / 283 MB, free: 7.016 MB / 266.7 MB Notification: Performance of Templates: time 0.005146/0.02033, allocations: 2.963 MB / 285.9 MB, free: 4.113 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.88019789615646]