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.00151/0.00151, allocations: 114 kB / 20.43 MB, free: 1.457 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.001607/0.001607, allocations: 214.8 kB / 23.74 MB, free: 4.672 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.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 8 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.001884/0.001884, allocations: 59.91 kB / 377.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2697, allocations: 53.4 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003978/0.2737, allocations: 2.111 MB / 433.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.275, allocations: 0.5807 MB / 433.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.2752, allocations: 11.88 kB / 433.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.2754, allocations: 23.67 kB / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.2757, allocations: 71.48 kB / 434 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.2759, allocations: 55.86 kB / 434.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.2764, allocations: 255.2 kB / 434.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.2765, allocations: 44.89 kB / 434.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.2768, allocations: 115.4 kB / 434.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.277, allocations: 147.2 kB / 434.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.277, allocations: 20 kB / 434.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.568e-05/0.2771, allocations: 20 kB / 434.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.2771, allocations: 55.7 kB / 434.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.2773, allocations: 123.2 kB / 434.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.2776, allocations: 243.1 kB / 435.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2776, allocations: 0 / 435.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2776, allocations: 0 / 435.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.2776, allocations: 0 / 435.1 MB, free: 2.812 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.001122/0.2787, allocations: 0.5357 MB / 435.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2788, allocations: 12.03 kB / 435.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.2788, allocations: 42.75 kB / 435.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.2789, allocations: 32.75 kB / 435.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.2792, allocations: 254.4 kB / 435.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2792, allocations: 11.94 kB / 435.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.2793, allocations: 12 kB / 435.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.2795, allocations: 122.3 kB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2795, allocations: 0 / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2795, allocations: 4 kB / 436.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.2795, allocations: 11.94 kB / 436.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.2797, allocations: 75.95 kB / 436.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.2805, allocations: 0.4993 MB / 436.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.281, allocations: 174.7 kB / 436.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.2812, allocations: 60.78 kB / 436.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.2812, allocations: 0 / 436.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.2812, allocations: 38.55 kB / 436.9 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 8.91e-07/0.2812, allocations: 4 kB / 436.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001542/0.2828, allocations: 0.5883 MB / 437.5 MB, free: 196 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.2828, allocations: 55.41 kB / 437.6 MB, free: 128 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.2832, allocations: 336.6 kB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.2832, allocations: 25.7 kB / 437.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.2833, allocations: 164.3 kB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.2834, allocations: 63.47 kB / 438.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/0.2835, allocations: 37.7 kB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2836, allocations: 338.8 kB / 438.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.2838, allocations: 63.97 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.2839, allocations: 67.53 kB / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.2842, allocations: 140.8 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2842, allocations: 0 / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003628/0.2845, allocations: 220.3 kB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2845, allocations: 6.5 kB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2846, allocations: 0 / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2846, allocations: 0 / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.2849, allocations: 63.89 kB / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2849, allocations: 4 kB / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.285, allocations: 11.94 kB / 439.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.285, allocations: 8 kB / 439.1 MB, free: 14.57 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.0001292/0.2852, allocations: 137.6 kB / 439.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.2852, allocations: 31.81 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.2856, allocations: 216.5 kB / 439.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2856, allocations: 11.88 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2856, allocations: 4 kB / 439.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2856, allocations: 0 / 439.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.286, allocations: 292.5 kB / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.286, allocations: 0 / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000341/0.2863, allocations: 55.95 kB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2863, allocations: 4 kB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.2864, allocations: 8 kB / 439.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2864, allocations: 11.86 kB / 439.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2864, allocations: 0 / 439.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.2869, allocations: 398.1 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.287, allocations: 31.86 kB / 440.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.287, allocations: 4 kB / 440.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.2872, allocations: 11.92 kB / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.2873, allocations: 11.98 kB / 440.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.2873, allocations: 7.984 kB / 440.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.2875, allocations: 247.1 kB / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2875, allocations: 4 kB / 440.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000264/0.2878, allocations: 40 kB / 440.6 MB, free: 13 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.0009299/0.2887, allocations: 0.9217 MB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.2891, allocations: 155.9 kB / 441.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2891, allocations: 0 / 441.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.2892, allocations: 75.91 kB / 441.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.2896, allocations: 33.08 kB / 441.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.2935, allocations: 3.067 MB / 444.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.2939, allocations: 0.7714 MB / 445.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.294, allocations: 26.28 kB / 445.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.2941, allocations: 99.39 kB / 445.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2942, allocations: 0 / 445.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.3275, allocations: 5.897 MB / 451.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.19, allocations: 15.92 kB / 451.6 MB, free: 1.969 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: 13.64063126896508]