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: 120.1 kB / 18.49 MB, free: 4.566 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.002129/0.002129, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.5 MB / 254.7 MB, free: 15.19 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.00183/0.00183, allocations: 55.91 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1017, allocations: 53.38 MB / 427.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01172/0.1135, allocations: 9.645 MB / 436.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006099/0.1196, allocations: 3.154 MB / 439.9 MB, free: 7.859 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.1208, allocations: 31.88 kB / 439.9 MB, free: 7.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.1224, allocations: 0.6172 MB / 440.5 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.1241, allocations: 0.5893 MB / 441.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.1249, allocations: 311.5 kB / 441.4 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.1272, allocations: 1.762 MB / 443.2 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007586/0.128, allocations: 452.9 kB / 443.6 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.1291, allocations: 0.6966 MB / 444.3 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009723/0.13, allocations: 0.7428 MB / 445.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.1302, allocations: 156 kB / 445.2 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.1306, allocations: 207.9 kB / 445.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.1309, allocations: 326.8 kB / 445.7 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008068/0.1317, allocations: 0.8087 MB / 446.6 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2042/0.3359, allocations: 1.987 MB / 448.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3359, allocations: 0 / 448.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.3359, allocations: 1.344 kB / 448.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.887e-05/0.3359, allocations: 0 / 448.5 MB, free: 13.06 MB / 366.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.003438/0.3394, allocations: 1.831 MB / 450.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.3394, allocations: 11.62 kB / 450.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.967e-05/0.3395, allocations: 29.59 kB / 450.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/0.3397, allocations: 166.2 kB / 450.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006442/0.3403, allocations: 207.4 kB / 450.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.3418, allocations: 0.8425 MB / 451.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.342, allocations: 112.9 kB / 451.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.3421, allocations: 114.5 kB / 451.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.3441, allocations: 1.149 MB / 453 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/0.3442, allocations: 6.859 kB / 453 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/0.3443, allocations: 48.7 kB / 453 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.3443, allocations: 27.69 kB / 453.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.3459, allocations: 0.76 MB / 453.8 MB, free: 11.27 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.006062/0.352, allocations: 3.919 MB / 457.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.3535, allocations: 0.5463 MB / 458.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004802/0.354, allocations: 243.4 kB / 458.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/0.354, allocations: 10.77 kB / 458.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007139/0.3548, allocations: 296.6 kB / 458.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.015e-06/0.3548, allocations: 3.094 kB / 458.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004646/0.3594, allocations: 2.094 MB / 460.9 MB, free: 8.422 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.3596, allocations: 482.6 kB / 461.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.3611, allocations: 1.106 MB / 462.5 MB, free: 7.391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.3611, allocations: 44.2 kB / 462.6 MB, free: 7.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/0.3616, allocations: 0.6553 MB / 463.2 MB, free: 6.824 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.3617, allocations: 241.4 kB / 463.4 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.362, allocations: 197 kB / 463.6 MB, free: 6.539 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.3621, allocations: 343.1 kB / 464 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.3626, allocations: 250.1 kB / 464.2 MB, free: 6.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/0.3634, allocations: 0.7073 MB / 464.9 MB, free: 5.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.3646, allocations: 0.9451 MB / 465.9 MB, free: 4.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.3646, allocations: 9.125 kB / 465.9 MB, free: 4.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002091/0.3667, allocations: 1.144 MB / 467 MB, free: 4.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.3667, allocations: 67.09 kB / 467.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.3667, allocations: 12.44 kB / 467.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/0.3674, allocations: 166.2 kB / 467.3 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.3681, allocations: 205 kB / 467.5 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.3717, allocations: 3.889 MB / 471.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3727, allocations: 69.75 kB / 471.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/0.3728, allocations: 46.59 kB / 471.5 MB, free: 0.7305 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.0004259/0.3732, allocations: 292.3 kB / 471.7 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.3734, allocations: 133.2 kB / 471.9 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.3748, allocations: 0.702 MB / 472.6 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.3748, allocations: 7.375 kB / 472.6 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3748, allocations: 0 / 472.6 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001488/0.3763, allocations: 0.9497 MB / 473.5 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.3796, allocations: 1.788 MB / 475.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.3796, allocations: 3.125 kB / 475.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004845/0.3801, allocations: 106.2 kB / 475.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004418/0.3806, allocations: 132 kB / 475.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.3806, allocations: 13.31 kB / 475.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00422/0.3848, allocations: 3.594 MB / 479.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3848, allocations: 7.5 kB / 479.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.387, allocations: 1.054 MB / 480.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.3876, allocations: 253.3 kB / 480.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.3878, allocations: 20.47 kB / 480.5 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/0.3884, allocations: 38.23 kB / 480.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.3885, allocations: 63.66 kB / 480.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.3886, allocations: 18.44 kB / 480.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.3898, allocations: 0.7417 MB / 481.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3898, allocations: 1.125 kB / 481.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0013/0.3911, allocations: 307.1 kB / 481.7 MB, free: 10.05 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.002568/0.3936, allocations: 1.636 MB / 483.3 MB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002429/0.3961, allocations: 1.061 MB / 484.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.3961, allocations: 2.969 kB / 484.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009931/0.3971, allocations: 0.5368 MB / 484.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.3987, allocations: 335.6 kB / 485.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.4139, allocations: 9.769 MB / 495 MB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/0.4147, allocations: 1.087 MB / 496.1 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006649/0.4153, allocations: 146.8 kB / 496.2 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006156/0.416, allocations: 471.3 kB / 496.7 MB, free: 400 kB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.416, allocations: 0 / 496.7 MB, free: 400 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08605/0.502, allocations: 29.36 MB / 0.5137 GB, free: 3.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.56, allocations: 8 kB / 0.5137 GB, free: 3.449 MB / 414.1 MB " [Timeout remaining time 644] (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 641] Reference file matches [Calling sys.exit(0), Time elapsed: 56.7394272449892]