Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 46.12 MB / 344.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 79.88 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3336, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003332/0.337, allocations: 1.829 MB / 0.5324 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.3389, allocations: 1.027 MB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.948e-05/0.339, allocations: 1.375 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.3392, allocations: 49.36 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.3395, allocations: 57.41 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.3399, allocations: 132.7 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.3402, allocations: 209.9 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.47e-05/0.3403, allocations: 16.17 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.3405, allocations: 92.62 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3407, allocations: 110.2 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.3407, allocations: 11.69 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.341, allocations: 117.7 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.3411, allocations: 53.97 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.3412, allocations: 77.84 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.3416, allocations: 261.3 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3416, allocations: 0 / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3416, allocations: 0 / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3416, allocations: 0 / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001068/0.3427, allocations: 0.5326 MB / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3428, allocations: 9.625 kB / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/0.3428, allocations: 48.23 kB / 0.5351 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.3432, allocations: 51.02 kB / 0.5352 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.3435, allocations: 236.7 kB / 0.5354 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3435, allocations: 8.734 kB / 0.5354 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.3435, allocations: 16.61 kB / 0.5354 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.3441, allocations: 278.4 kB / 0.5357 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3441, allocations: 0 / 0.5357 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.3441, allocations: 2.375 kB / 0.5357 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.3442, allocations: 13.42 kB / 0.5357 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005756/0.3447, allocations: 221.7 kB / 0.5359 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.3459, allocations: 0.814 MB / 0.5367 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.3463, allocations: 185.8 kB / 0.5369 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.3466, allocations: 104.2 kB / 0.537 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.3467, allocations: 2.719 kB / 0.537 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3467, allocations: 37.08 kB / 0.537 GB, free: 8.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3467, allocations: 0 / 0.537 GB, free: 8.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009592/0.3477, allocations: 323.8 kB / 0.5373 GB, free: 8.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.3478, allocations: 109.4 kB / 0.5375 GB, free: 8.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.3481, allocations: 260.5 kB / 0.5377 GB, free: 7.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3481, allocations: 31.08 kB / 0.5377 GB, free: 7.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3482, allocations: 133.2 kB / 0.5379 GB, free: 7.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.3483, allocations: 40.02 kB / 0.5379 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.3484, allocations: 36.3 kB / 0.5379 GB, free: 7.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3485, allocations: 340.1 kB / 0.5383 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.3488, allocations: 94.39 kB / 0.5383 GB, free: 7.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.3491, allocations: 136.6 kB / 0.5385 GB, free: 7.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.3497, allocations: 222.2 kB / 0.5387 GB, free: 7.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3497, allocations: 1.281 kB / 0.5387 GB, free: 7.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007002/0.3504, allocations: 280.2 kB / 0.539 GB, free: 6.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3504, allocations: 4.844 kB / 0.539 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/0.3504, allocations: 11.59 kB / 0.539 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.3505, allocations: 2.031 kB / 0.539 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.3508, allocations: 37.55 kB / 0.539 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.3508, allocations: 7 kB / 0.539 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.351, allocations: 37.61 kB / 0.5391 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.351, allocations: 18.83 kB / 0.5391 GB, free: 6.848 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000144/0.3512, allocations: 137.6 kB / 0.5392 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.3513, allocations: 20.42 kB / 0.5392 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.3518, allocations: 223 kB / 0.5394 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3518, allocations: 5.469 kB / 0.5394 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3518, allocations: 1.562 kB / 0.5394 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3518, allocations: 0 / 0.5394 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.3522, allocations: 263.6 kB / 0.5397 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/0.3523, allocations: 10.62 kB / 0.5397 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.3524, allocations: 31.66 kB / 0.5397 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3525, allocations: 1.281 kB / 0.5397 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3525, allocations: 10.83 kB / 0.5397 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3525, allocations: 1.594 kB / 0.5397 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3525, allocations: 0 / 0.5397 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.3532, allocations: 489.1 kB / 0.5402 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/0.3533, allocations: 93.3 kB / 0.5403 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.3533, allocations: 6.844 kB / 0.5403 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.3536, allocations: 21.09 kB / 0.5403 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.3537, allocations: 22.78 kB / 0.5403 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3537, allocations: 7.312 kB / 0.5404 GB, free: 5.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.3539, allocations: 194.6 kB / 0.5405 GB, free: 5.652 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3539, allocations: 0 / 0.5405 GB, free: 5.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000449/0.3544, allocations: 74.38 kB / 0.5406 GB, free: 5.633 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001177/0.3555, allocations: 1.057 MB / 0.5416 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007059/0.3563, allocations: 297.4 kB / 0.5419 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3563, allocations: 0 / 0.5419 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.3566, allocations: 178.1 kB / 0.5421 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.3571, allocations: 47.36 kB / 0.5421 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.3615, allocations: 2.823 MB / 0.5449 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.3619, allocations: 0.7437 MB / 0.5456 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.3621, allocations: 39.09 kB / 0.5457 GB, free: 1.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.3622, allocations: 51.66 kB / 0.5457 GB, free: 1.477 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3622, allocations: 1.312 kB / 0.5457 GB, free: 1.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.3909, allocations: 5.876 MB / 0.5515 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.655, allocations: 8.266 kB / 0.5515 GB, free: 11.89 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[3],velocity[1],velocity[2],velocity[3],Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],input_v_0.y,input_v_1.y,input_v_2.y Variables in the result:IN_con[1].L,IN_con[2].L,IN_con[3].L,IN_var[1].cp,IN_var[1].eta,IN_var[1].lambda,IN_var[1].rho,IN_var[1].velocity,IN_var[2].cp,IN_var[2].eta,IN_var[2].lambda,IN_var[2].rho,IN_var[2].velocity,IN_var[3].cp,IN_var[3].eta,IN_var[3].lambda,IN_var[3].rho,IN_var[3].velocity,L,Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],input_v_0.duration,input_v_0.height,input_v_0.offset,input_v_0.startTime,input_v_0.y,input_v_1.amplitude,input_v_1.continuous,input_v_1.f,input_v_1.offset,input_v_1.phase,input_v_1.startTime,input_v_1.y,input_v_2.fallTimeConst,input_v_2.offset,input_v_2.outMax,input_v_2.riseTime,input_v_2.riseTimeConst,input_v_2.startTime,input_v_2.y,lambda[1],lambda[2],lambda[3],n,rho[1],rho[2],rho[3],time,velocity[1],velocity[2],velocity[3]