Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.001766/0.001766, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002023/0.002023, allocations: 213.5 kB / 24.52 MB, free: 3.91 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.473/1.473, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 59.91 kB / 378.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3424, allocations: 53.4 MB / 431.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01177/0.3542, allocations: 8.458 MB / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006464/0.3606, allocations: 2.933 MB / 443.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.3626, allocations: 35.81 kB / 443.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.3648, allocations: 0.5589 MB / 443.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.3673, allocations: 0.5815 MB / 444.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3684, allocations: 323.5 kB / 444.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003021/0.3714, allocations: 1.763 MB / 446.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008626/0.3723, allocations: 461.3 kB / 447 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.3737, allocations: 0.6966 MB / 447.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.3748, allocations: 0.7468 MB / 448.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.375, allocations: 156 kB / 448.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004593/0.3755, allocations: 199.9 kB / 448.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.3758, allocations: 330.8 kB / 449.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008241/0.3766, allocations: 0.6572 MB / 449.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.3793, allocations: 2.004 MB / 451.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.3793, allocations: 0 / 451.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3793, allocations: 7.938 kB / 451.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.077e-05/0.3793, allocations: 3.938 kB / 451.8 MB, free: 2.465 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003853/0.3832, allocations: 1.763 MB / 453.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.3832, allocations: 8.031 kB / 453.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.279e-05/0.3833, allocations: 34.27 kB / 453.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/0.3835, allocations: 161 kB / 453.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006826/0.3842, allocations: 203.9 kB / 454 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.3859, allocations: 0.768 MB / 454.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.3861, allocations: 167.5 kB / 454.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.3863, allocations: 108 kB / 455 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.3887, allocations: 1.573 MB / 456.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.3887, allocations: 11.94 kB / 456.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.3888, allocations: 44 kB / 456.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.3889, allocations: 28 kB / 456.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.3904, allocations: 0.7535 MB / 457.4 MB, free: 12.55 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006101/0.3965, allocations: 3.368 MB / 460.8 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.3981, allocations: 0.5507 MB / 461.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004999/0.3986, allocations: 235.4 kB / 461.6 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.3987, allocations: 12.5 kB / 461.6 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006804/0.3994, allocations: 319.9 kB / 461.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.825e-06/0.3994, allocations: 4 kB / 461.9 MB, free: 7.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004587/0.404, allocations: 1.865 MB / 463.8 MB, free: 5.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002795/0.4042, allocations: 475.3 kB / 464.2 MB, free: 5.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.4057, allocations: 1.105 MB / 465.3 MB, free: 4.289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.4058, allocations: 41.7 kB / 465.4 MB, free: 4.242 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005433/0.4063, allocations: 0.6599 MB / 466 MB, free: 3.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.4065, allocations: 242 kB / 466.3 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.4068, allocations: 202.8 kB / 466.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.407, allocations: 345.9 kB / 466.8 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006163/0.4076, allocations: 309.8 kB / 467.1 MB, free: 2.473 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.4088, allocations: 1.161 MB / 468.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.4102, allocations: 0.9412 MB / 469.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.4102, allocations: 4 kB / 469.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002041/0.4122, allocations: 1.2 MB / 470.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.4123, allocations: 70.2 kB / 470.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.4123, allocations: 12 kB / 470.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.4129, allocations: 169.7 kB / 470.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006654/0.4136, allocations: 207.6 kB / 470.9 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004594/0.4182, allocations: 3.66 MB / 474.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.4193, allocations: 67.86 kB / 474.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.4193, allocations: 47.94 kB / 474.6 MB, free: 10.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006194/0.42, allocations: 293.6 kB / 474.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.4202, allocations: 131.2 kB / 475.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.4217, allocations: 0.7061 MB / 475.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.4217, allocations: 8 kB / 475.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.4217, allocations: 0 / 475.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001505/0.4233, allocations: 0.9473 MB / 476.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.4262, allocations: 1.619 MB / 478.3 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.4262, allocations: 0 / 478.3 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.4267, allocations: 103.9 kB / 478.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.4271, allocations: 129.9 kB / 478.6 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.4272, allocations: 15.98 kB / 478.6 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00401/0.4312, allocations: 3.35 MB / 481.9 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.4312, allocations: 7.938 kB / 481.9 MB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.4332, allocations: 1.054 MB / 483 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.4338, allocations: 187.2 kB / 483.2 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.434, allocations: 16 kB / 483.2 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/0.4348, allocations: 35.97 kB / 483.2 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.4349, allocations: 60.33 kB / 483.3 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.435, allocations: 31.92 kB / 483.3 MB, free: 1.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001483/0.4365, allocations: 0.7367 MB / 484 MB, free: 284 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4365, allocations: 4 kB / 484 MB, free: 280 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001534/0.438, allocations: 312 kB / 484.4 MB, free: 15.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00275/0.4407, allocations: 1.627 MB / 486 MB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002755/0.4435, allocations: 1.127 MB / 487.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.4435, allocations: 0 / 487.1 MB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.4448, allocations: 0.531 MB / 487.6 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.4468, allocations: 343.6 kB / 488 MB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/0.4673, allocations: 9.974 MB / 497.9 MB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009288/0.4683, allocations: 0.4935 MB / 498.4 MB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008376/0.4691, allocations: 145.8 kB / 498.6 MB, free: 0.9688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008314/0.4699, allocations: 479.3 kB / 499.1 MB, free: 0.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.034e-06/0.4699, allocations: 3.938 kB / 499.1 MB, free: 0.4961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08734/0.5573, allocations: 31.38 MB / 0.518 GB, free: 1.594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.39, allocations: 8.062 kB / 0.518 GB, free: 1.586 MB / 430.1 MB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 642] Reference file matches [Calling sys.exit(0), Time elapsed: 56.58753228804562]