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.001941/0.001941, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002576/0.002576, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 67.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2617, allocations: 50.56 MB / 408.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009651/0.2714, allocations: 7.977 MB / 416.8 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004692/0.2761, allocations: 2.648 MB / 419.5 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006887/0.2768, allocations: 20 kB / 419.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.2782, allocations: 0.5086 MB / 420 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009408/0.2791, allocations: 400.8 kB / 420.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.2796, allocations: 211.6 kB / 420.6 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.2809, allocations: 1.23 MB / 421.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007424/0.2817, allocations: 0.5448 MB / 422.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006538/0.2823, allocations: 494 kB / 422.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006354/0.283, allocations: 0.5134 MB / 423.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.2831, allocations: 120 kB / 423.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.2835, allocations: 156 kB / 423.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.2837, allocations: 231.2 kB / 423.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005389/0.2842, allocations: 0.5715 MB / 424.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.2859, allocations: 1.471 MB / 425.9 MB, free: 296 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2859, allocations: 0 / 425.9 MB, free: 296 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2859, allocations: 0 / 425.9 MB, free: 296 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.072e-05/0.2859, allocations: 0 / 425.9 MB, free: 296 kB / 334.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.002271/0.2882, allocations: 1.335 MB / 427.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2882, allocations: 8.031 kB / 427.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.2884, allocations: 135.5 kB / 427.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006923/0.2891, allocations: 176.2 kB / 427.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.2902, allocations: 0.6576 MB / 428.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.2903, allocations: 66.12 kB / 428.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.2904, allocations: 84 kB / 428.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.2918, allocations: 0.8184 MB / 429.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.2919, allocations: 7.953 kB / 429.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.2919, allocations: 28 kB / 429.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.292, allocations: 24 kB / 429.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2931, allocations: 0.5465 MB / 429.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004481/0.2975, allocations: 3.556 MB / 433.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.2981, allocations: 238.7 kB / 433.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.2984, allocations: 116.8 kB / 433.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.2984, allocations: 0 / 433.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.2984, allocations: 42.56 kB / 433.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.462e-06/0.2984, allocations: 0 / 433.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002173/0.3006, allocations: 1.098 MB / 434.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.3007, allocations: 81.05 kB / 434.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3017, allocations: 0.7663 MB / 435.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.3018, allocations: 33.7 kB / 435.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.3022, allocations: 0.5228 MB / 436.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.853e-05/0.3023, allocations: 111.1 kB / 436.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.3025, allocations: 122.2 kB / 436.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.3027, allocations: 386.8 kB / 436.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.303, allocations: 133.2 kB / 437 MB, free: 4.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.3035, allocations: 446.2 kB / 437.4 MB, free: 4.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008782/0.3044, allocations: 0.6177 MB / 438 MB, free: 3.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3044, allocations: 0 / 438 MB, free: 3.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001128/0.3056, allocations: 0.6505 MB / 438.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.3056, allocations: 15.92 kB / 438.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.3056, allocations: 12 kB / 438.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.3058, allocations: 36.8 kB / 438.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.3063, allocations: 147.7 kB / 438.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.3075, allocations: 1.391 MB / 440.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.308, allocations: 55.88 kB / 440.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.3081, allocations: 32 kB / 440.3 MB, free: 0.8789 MB / 350.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.0003523/0.3084, allocations: 245.5 kB / 440.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.3085, allocations: 79.48 kB / 440.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00069/0.3092, allocations: 330 kB / 441 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3093, allocations: 7.984 kB / 441 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3093, allocations: 3.938 kB / 441 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3093, allocations: 0 / 441 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.311, allocations: 1.121 MB / 442.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.311, allocations: 4 kB / 442.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.3113, allocations: 64.11 kB / 442.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.394e-05/0.3114, allocations: 20.86 kB / 442.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.3114, allocations: 8 kB / 442.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.3125, allocations: 1.371 MB / 443.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3125, allocations: 4 kB / 443.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009525/0.3134, allocations: 0.5761 MB / 444.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.3137, allocations: 184.6 kB / 444.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.3138, allocations: 11.98 kB / 444.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.3141, allocations: 15.98 kB / 444.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.3142, allocations: 27.91 kB / 444.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3142, allocations: 8 kB / 444.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006926/0.3149, allocations: 0.5185 MB / 444.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3149, allocations: 4 kB / 444.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006673/0.3156, allocations: 179.9 kB / 445.1 MB, free: 11.81 MB / 366.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.001362/0.3169, allocations: 1.13 MB / 446.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009383/0.3179, allocations: 480 kB / 446.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.3179, allocations: 4 kB / 446.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.3183, allocations: 247.9 kB / 446.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009108/0.3192, allocations: 198.1 kB / 447.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009025/0.3283, allocations: 6.525 MB / 453.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.3289, allocations: 0.9526 MB / 454.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003372/0.3292, allocations: 94.16 kB / 454.7 MB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/0.3296, allocations: 315.3 kB / 455 MB, free: 1.367 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3297, allocations: 4 kB / 455 MB, free: 1.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6346/0.9643, allocations: 16.06 MB / 471.1 MB, free: 1.562 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.29, allocations: 9.625 kB / 471.1 MB, free: 1.559 MB / 382.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.1.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