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.001203/0.001203, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001297/0.001297, allocations: 207.6 kB / 23.73 MB, free: 4.391 MB / 14.72 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 1.35/1.35, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 59.91 kB / 377.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2904, allocations: 53.4 MB / 431.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003259/0.2937, allocations: 1.998 MB / 433.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2947, allocations: 0.5496 MB / 433.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.2949, allocations: 0 / 433.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.295, allocations: 23.67 kB / 433.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.2953, allocations: 83.41 kB / 433.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.2955, allocations: 55.92 kB / 433.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.2958, allocations: 259 kB / 434.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.2959, allocations: 42.58 kB / 434.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2961, allocations: 115.4 kB / 434.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.2963, allocations: 127.2 kB / 434.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.2964, allocations: 20 kB / 434.4 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.343e-05/0.2964, allocations: 20 kB / 434.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.2965, allocations: 55.77 kB / 434.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.2967, allocations: 103.3 kB / 434.6 MB, free: 3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.297, allocations: 246.8 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.297, allocations: 0 / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.297, allocations: 0 / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.297, allocations: 0 / 434.8 MB, free: 2.758 MB / 334.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.001161/0.2982, allocations: 0.5345 MB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2982, allocations: 11.98 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.379e-05/0.2983, allocations: 50.67 kB / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.2984, allocations: 32.75 kB / 435.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.2988, allocations: 246.5 kB / 435.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2988, allocations: 11.94 kB / 435.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.2988, allocations: 19.94 kB / 435.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.2991, allocations: 126.2 kB / 435.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2991, allocations: 0 / 435.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.2991, allocations: 4 kB / 435.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.2991, allocations: 4 kB / 435.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.2993, allocations: 79.95 kB / 435.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008603/0.3002, allocations: 471.4 kB / 436.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.3007, allocations: 170.7 kB / 436.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.3008, allocations: 68.75 kB / 436.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3008, allocations: 0 / 436.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3009, allocations: 38.5 kB / 436.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3009, allocations: 0 / 436.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00145/0.3023, allocations: 0.5899 MB / 437.3 MB, free: 172 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.3024, allocations: 51.41 kB / 437.3 MB, free: 108 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.3028, allocations: 332.6 kB / 437.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3028, allocations: 29.7 kB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3029, allocations: 160.3 kB / 437.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.303, allocations: 67.47 kB / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-05/0.303, allocations: 37.7 kB / 437.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3032, allocations: 342.8 kB / 438.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.3033, allocations: 63.91 kB / 438.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3035, allocations: 59.97 kB / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.3037, allocations: 144.8 kB / 438.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3037, allocations: 0 / 438.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003681/0.3041, allocations: 213 kB / 438.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3041, allocations: 12 kB / 438.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3041, allocations: 0 / 438.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3041, allocations: 0 / 438.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.3044, allocations: 63.83 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3044, allocations: 0 / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3046, allocations: 15.94 kB / 438.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3046, allocations: 0 / 438.8 MB, free: 14.55 MB / 350.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.0001242/0.3047, allocations: 137.8 kB / 439 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.3048, allocations: 27.81 kB / 439 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.3052, allocations: 224.5 kB / 439.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3052, allocations: 3.938 kB / 439.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3052, allocations: 0 / 439.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3052, allocations: 0 / 439.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.3056, allocations: 260.6 kB / 439.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3056, allocations: 3.938 kB / 439.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.3059, allocations: 63.89 kB / 439.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3059, allocations: 0 / 439.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.3059, allocations: 8 kB / 439.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3059, allocations: 7.938 kB / 439.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3059, allocations: 7.938 kB / 439.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005921/0.3065, allocations: 392.6 kB / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.3066, allocations: 27.8 kB / 440 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.3066, allocations: 4.062 kB / 440 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.3068, allocations: 11.94 kB / 440 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3069, allocations: 11.97 kB / 440 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3069, allocations: 4 kB / 440 MB, free: 13.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002757/0.3072, allocations: 255 kB / 440.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3072, allocations: 0 / 440.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3074, allocations: 44 kB / 440.3 MB, free: 13.02 MB / 350.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.0008874/0.3083, allocations: 0.9152 MB / 441.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.3087, allocations: 150.1 kB / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3087, allocations: 0 / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.3088, allocations: 87.89 kB / 441.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.3092, allocations: 41.02 kB / 441.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.3133, allocations: 3.065 MB / 444.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.3135, allocations: 151.5 kB / 444.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.3136, allocations: 34.27 kB / 444.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3138, allocations: 95.39 kB / 444.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3138, allocations: 3.938 kB / 444.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.3489, allocations: 6.408 MB / 451.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.38, allocations: 0 / 451.2 MB, free: 2.113 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --stepSize=0.09996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.042382517829537]