Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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) 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.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001787/0.001787, allocations: 116.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002306/0.002306, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.78 kB / 306.6 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.09341, allocations: 50.52 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009456/0.1029, allocations: 7.955 MB / 365.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004738/0.1077, allocations: 2.622 MB / 367.7 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008847/0.1086, allocations: 23.94 kB / 367.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.1102, allocations: 453.7 kB / 368.1 MB, free: 3.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.1115, allocations: 349.5 kB / 368.5 MB, free: 2.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.1122, allocations: 191.7 kB / 368.7 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001559/0.1137, allocations: 1.225 MB / 369.9 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008279/0.1146, allocations: 0.537 MB / 370.4 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007009/0.1153, allocations: 0.4901 MB / 370.9 MB, free: 416 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1473/0.2626, allocations: 0.5123 MB / 371.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004997/0.2631, allocations: 115.3 kB / 371.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005953/0.2637, allocations: 155.9 kB / 371.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.2639, allocations: 235.8 kB / 371.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.2646, allocations: 0.5663 MB / 372.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.2668, allocations: 1.437 MB / 373.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2668, allocations: 2.562 kB / 373.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2668, allocations: 0 / 373.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.826e-05/0.2668, allocations: 0.5625 kB / 373.9 MB, free: 11.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002474/0.2693, allocations: 1.309 MB / 375.2 MB, free: 10.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.2694, allocations: 10.03 kB / 375.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.2695, allocations: 135.3 kB / 375.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008344/0.2704, allocations: 173.9 kB / 375.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009939/0.2714, allocations: 0.6279 MB / 376.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/0.2715, allocations: 66.38 kB / 376.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.2716, allocations: 91.25 kB / 376.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.2732, allocations: 0.8197 MB / 377.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.2733, allocations: 1.375 kB / 377.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.241e-05/0.2734, allocations: 37.38 kB / 377.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.2734, allocations: 20.62 kB / 377.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.2746, allocations: 0.5451 MB / 377.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.2789, allocations: 3.58 MB / 381.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.2794, allocations: 236.3 kB / 381.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.2797, allocations: 120.8 kB / 381.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.2797, allocations: 7.062 kB / 381.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.2797, allocations: 32.73 kB / 381.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 3.356e-06/0.2798, allocations: 3.516 kB / 381.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002085/0.2818, allocations: 1.079 MB / 382.8 MB, free: 6.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.2819, allocations: 85.03 kB / 382.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009538/0.2829, allocations: 0.7674 MB / 383.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.2829, allocations: 35.02 kB / 383.7 MB, free: 6.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.2832, allocations: 0.5114 MB / 384.2 MB, free: 5.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/0.2832, allocations: 107.6 kB / 384.3 MB, free: 5.766 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.2834, allocations: 121.3 kB / 384.4 MB, free: 5.691 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2835, allocations: 382.2 kB / 384.8 MB, free: 5.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.2838, allocations: 126.5 kB / 384.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.2843, allocations: 450.9 kB / 385.4 MB, free: 4.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000714/0.285, allocations: 0.6081 MB / 386 MB, free: 4.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/0.285, allocations: 4.156 kB / 386 MB, free: 4.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00114/0.2862, allocations: 0.6452 MB / 386.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.2862, allocations: 16.38 kB / 386.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.2862, allocations: 10.95 kB / 386.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.2864, allocations: 42.55 kB / 386.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.2869, allocations: 148.9 kB / 386.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007453/0.2877, allocations: 1.394 MB / 388.2 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/0.2882, allocations: 43.67 kB / 388.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.2883, allocations: 31.48 kB / 388.3 MB, free: 2.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002906/0.2886, allocations: 249.6 kB / 388.5 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.2887, allocations: 75.77 kB / 388.6 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007737/0.2895, allocations: 334.5 kB / 388.9 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2895, allocations: 4.062 kB / 389 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2895, allocations: 1.219 kB / 389 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2896, allocations: 1.734 kB / 389 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.2913, allocations: 1.117 MB / 390.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.2913, allocations: 2.125 kB / 390.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.2916, allocations: 64.5 kB / 390.1 MB, free: 1.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.484e-05/0.2917, allocations: 27.72 kB / 390.2 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.2917, allocations: 7.281 kB / 390.2 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000609/0.2923, allocations: 1.372 MB / 391.5 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2923, allocations: 4.719 kB / 391.5 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/0.2933, allocations: 0.5791 MB / 392.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002546/0.2936, allocations: 178.2 kB / 392.3 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.2937, allocations: 7.531 kB / 392.3 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.2941, allocations: 24.66 kB / 392.3 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.2942, allocations: 21.59 kB / 392.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.2942, allocations: 10.69 kB / 392.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006775/0.2949, allocations: 0.5274 MB / 392.9 MB, free: 15.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2949, allocations: 1.312 kB / 392.9 MB, free: 15.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007519/0.2956, allocations: 169.9 kB / 393.1 MB, free: 15.42 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/0.2969, allocations: 1.137 MB / 394.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009222/0.2978, allocations: 492.5 kB / 394.7 MB, free: 14.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2978, allocations: 4.969 kB / 394.7 MB, free: 14.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.2982, allocations: 246.1 kB / 394.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.2992, allocations: 181.9 kB / 395.1 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.3099, allocations: 7.24 MB / 402.3 MB, free: 9.145 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.3105, allocations: 0.9521 MB / 403.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000406/0.311, allocations: 94.02 kB / 403.4 MB, free: 8.281 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/0.3114, allocations: 317.2 kB / 403.7 MB, free: 8.016 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3114, allocations: 0 / 403.7 MB, free: 8.016 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.345, allocations: 15.55 MB / 419.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.3452, allocations: 250.3 kB / 419.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.086/2.432, allocations: 0 / 419.5 MB, free: 10.35 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches