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.001266/0.001266, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.00148, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 63.89 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.293, allocations: 50.54 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009359/0.3024, allocations: 7.982 MB / 416.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00486/0.3073, allocations: 2.645 MB / 419.4 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007466/0.3081, allocations: 23.94 kB / 419.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.3095, allocations: 0.5048 MB / 419.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009917/0.3105, allocations: 404.7 kB / 420.3 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.3109, allocations: 219.6 kB / 420.5 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.3122, allocations: 1.233 MB / 421.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007174/0.3129, allocations: 0.5331 MB / 422.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000688/0.3136, allocations: 498 kB / 422.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006482/0.3143, allocations: 0.5095 MB / 423.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.3144, allocations: 116 kB / 423.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.3148, allocations: 156 kB / 423.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.315, allocations: 247.1 kB / 423.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005911/0.3156, allocations: 0.5637 MB / 424.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.3174, allocations: 1.46 MB / 425.8 MB, free: 368 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.3174, allocations: 4 kB / 425.8 MB, free: 364 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3174, allocations: 0 / 425.8 MB, free: 364 kB / 334.1 MB Notification: Performance of Transformations before backend: time 3.307e-05/0.3175, allocations: 0 / 425.8 MB, free: 364 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.002502/0.32, allocations: 1.297 MB / 427.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.32, allocations: 8.031 kB / 427.1 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.3202, allocations: 131.5 kB / 427.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006865/0.3209, allocations: 183.5 kB / 427.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.322, allocations: 0.6454 MB / 428.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.322, allocations: 70.12 kB / 428.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.3222, allocations: 83.91 kB / 428.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.3235, allocations: 0.8184 MB / 429.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.3236, allocations: 11.92 kB / 429.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.586e-05/0.3237, allocations: 36 kB / 429.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.3237, allocations: 24 kB / 429.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009874/0.3247, allocations: 0.5348 MB / 429.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004038/0.3287, allocations: 3.551 MB / 433.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.3293, allocations: 240.9 kB / 433.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.3295, allocations: 120.8 kB / 433.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.3296, allocations: 4 kB / 433.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3296, allocations: 30.56 kB / 433.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.3296, allocations: 0 / 433.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002003/0.3316, allocations: 1.089 MB / 434.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.3317, allocations: 85.05 kB / 434.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008907/0.3326, allocations: 0.7585 MB / 435.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3326, allocations: 29.7 kB / 435.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/0.333, allocations: 0.5213 MB / 436.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.3331, allocations: 102.5 kB / 436.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.3332, allocations: 126.1 kB / 436.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3334, allocations: 378.8 kB / 436.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.3337, allocations: 129.2 kB / 436.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.3342, allocations: 458.1 kB / 437.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007658/0.3349, allocations: 0.6177 MB / 437.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3349, allocations: 4 kB / 437.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001018/0.336, allocations: 0.6425 MB / 438.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.336, allocations: 15.94 kB / 438.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.336, allocations: 12.12 kB / 438.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.3362, allocations: 36.84 kB / 438.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.3366, allocations: 143.8 kB / 438.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.3377, allocations: 1.39 MB / 440.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.3381, allocations: 39.88 kB / 440.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.3381, allocations: 36.09 kB / 440.2 MB, free: 1.035 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.0002745/0.3384, allocations: 249.4 kB / 440.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.3385, allocations: 71.16 kB / 440.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.3391, allocations: 341.8 kB / 440.8 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3391, allocations: 8 kB / 440.8 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3392, allocations: 3.938 kB / 440.8 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3392, allocations: 0 / 440.8 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.3407, allocations: 1.117 MB / 441.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3407, allocations: 0 / 441.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.341, allocations: 67.89 kB / 442 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-05/0.3411, allocations: 24.84 kB / 442 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.3411, allocations: 8 kB / 442 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008835/0.342, allocations: 1.371 MB / 443.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3421, allocations: 8.188 kB / 443.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.3429, allocations: 0.5717 MB / 444 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.3431, allocations: 180.2 kB / 444.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.3432, allocations: 8 kB / 444.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.3435, allocations: 19.98 kB / 444.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.3436, allocations: 27.91 kB / 444.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3436, allocations: 12 kB / 444.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006336/0.3443, allocations: 0.5185 MB / 444.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3443, allocations: 0 / 444.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006305/0.3449, allocations: 172 kB / 444.9 MB, free: 11.97 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.00127/0.3462, allocations: 1.141 MB / 446.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008398/0.3471, allocations: 488.8 kB / 446.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3471, allocations: 3.938 kB / 446.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.3474, allocations: 238.5 kB / 446.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008846/0.3483, allocations: 187.5 kB / 447 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008441/0.3568, allocations: 6.489 MB / 453.5 MB, free: 2.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.3573, allocations: 0.9487 MB / 454.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003829/0.3577, allocations: 94.17 kB / 454.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.3581, allocations: 315.3 kB / 454.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3581, allocations: 0 / 454.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0504/0.4085, allocations: 16.29 MB / 471.1 MB, free: 1.523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.25, allocations: 13.56 kB / 471.1 MB, free: 1.516 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.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