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.001793/0.001793, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.002086/0.002086, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 63.89 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.111, allocations: 53.32 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2444/0.3554, allocations: 9.647 MB / 436.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005385/0.3608, allocations: 3.152 MB / 439.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.3621, allocations: 25.72 kB / 439.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.3638, allocations: 0.6131 MB / 440.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.3654, allocations: 0.5882 MB / 440.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008436/0.3663, allocations: 315.2 kB / 441 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002159/0.3684, allocations: 1.761 MB / 442.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.3692, allocations: 452 kB / 443.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.3703, allocations: 0.6855 MB / 443.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009524/0.3712, allocations: 0.7444 MB / 444.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.3715, allocations: 158.3 kB / 444.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005756/0.3721, allocations: 199.9 kB / 445 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.3723, allocations: 333.5 kB / 445.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007642/0.3731, allocations: 0.7993 MB / 446.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.3757, allocations: 1.991 MB / 448.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3757, allocations: 4 kB / 448.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3757, allocations: 2.25 kB / 448.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.976e-05/0.3758, allocations: 3.938 kB / 448.1 MB, free: 0.7344 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.003707/0.3795, allocations: 1.833 MB / 450 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.3795, allocations: 13.5 kB / 450 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002479/0.3798, allocations: 163.5 kB / 450.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006982/0.3805, allocations: 201.8 kB / 450.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.3822, allocations: 0.8484 MB / 451.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.3824, allocations: 110.8 kB / 451.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.3825, allocations: 112.4 kB / 451.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.3846, allocations: 1.145 MB / 452.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.3847, allocations: 3.25 kB / 452.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3848, allocations: 46.78 kB / 452.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.3848, allocations: 30.12 kB / 452.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.3865, allocations: 0.7576 MB / 453.4 MB, free: 13.71 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.006551/0.393, allocations: 3.933 MB / 457.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.3945, allocations: 0.5503 MB / 457.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.395, allocations: 245.3 kB / 458.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.3951, allocations: 12.8 kB / 458.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006373/0.3957, allocations: 299.4 kB / 458.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.487e-06/0.3957, allocations: 0.8438 kB / 458.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005015/0.4007, allocations: 2.092 MB / 460.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002847/0.401, allocations: 476.7 kB / 461 MB, free: 8.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.4027, allocations: 1.105 MB / 462.1 MB, free: 8.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.4028, allocations: 37.05 kB / 462.1 MB, free: 8.039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/0.4033, allocations: 0.6593 MB / 462.8 MB, free: 7.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.4035, allocations: 247 kB / 463 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.4038, allocations: 196.5 kB / 463.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.404, allocations: 346.3 kB / 463.5 MB, free: 6.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/0.4045, allocations: 246.5 kB / 463.8 MB, free: 6.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009514/0.4054, allocations: 0.7074 MB / 464.5 MB, free: 5.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.4069, allocations: 0.9449 MB / 465.4 MB, free: 5.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.4069, allocations: 3.469 kB / 465.4 MB, free: 5.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002258/0.4092, allocations: 1.139 MB / 466.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.284e-05/0.4092, allocations: 71.02 kB / 466.6 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.4093, allocations: 12.12 kB / 466.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/0.4099, allocations: 173.9 kB / 466.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/0.4106, allocations: 201.7 kB / 467 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005212/0.4158, allocations: 3.891 MB / 470.9 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.4169, allocations: 64.28 kB / 471 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.706e-05/0.417, allocations: 50.41 kB / 471 MB, free: 0.6641 MB / 366.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.0005991/0.4176, allocations: 297.8 kB / 471.3 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.4179, allocations: 128.6 kB / 471.4 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.4196, allocations: 0.6963 MB / 472.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.4196, allocations: 7.547 kB / 472.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4196, allocations: 2.156 kB / 472.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001679/0.4213, allocations: 0.9563 MB / 473.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/0.4252, allocations: 1.78 MB / 474.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.4252, allocations: 6.422 kB / 474.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.4257, allocations: 104.3 kB / 475 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.4262, allocations: 135.7 kB / 475.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.4263, allocations: 17.33 kB / 475.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004406/0.4307, allocations: 3.594 MB / 478.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4307, allocations: 6.438 kB / 478.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.4328, allocations: 1.044 MB / 479.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/0.4335, allocations: 262.7 kB / 480 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/0.4339, allocations: 18.81 kB / 480.1 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/0.4347, allocations: 39.22 kB / 480.1 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.4348, allocations: 61.17 kB / 480.2 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.4349, allocations: 21.73 kB / 480.2 MB, free: 9.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001387/0.4362, allocations: 0.7426 MB / 480.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4362, allocations: 0 / 480.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001439/0.4377, allocations: 310 kB / 481.2 MB, free: 8.895 MB / 382.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.003059/0.4407, allocations: 1.629 MB / 482.8 MB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.4431, allocations: 1.069 MB / 483.9 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.4431, allocations: 11.97 kB / 483.9 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.4441, allocations: 0.5236 MB / 484.5 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.4459, allocations: 338.7 kB / 484.8 MB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/0.465, allocations: 9.748 MB / 494.5 MB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.466, allocations: 1.086 MB / 495.6 MB, free: 9.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007351/0.4667, allocations: 149.8 kB / 495.8 MB, free: 9.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007255/0.4674, allocations: 467.3 kB / 496.2 MB, free: 9.199 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4674, allocations: 0 / 496.2 MB, free: 9.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/0.5792, allocations: 29.33 MB / 0.5132 GB, free: 12.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/14.93, allocations: 2.812 kB / 0.5132 GB, free: 12.22 MB / 430.1 MB " [Timeout remaining time 645] (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_2/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_2/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 650] Reference file matches [Calling sys.exit(0), Time elapsed: 41.26746902614832]