Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 51.92 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3546, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01051/0.3652, allocations: 9.618 MB / 406 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007207/0.3724, allocations: 3.145 MB / 409.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.3747, allocations: 30.06 kB / 409.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002508/0.3773, allocations: 0.6138 MB / 409.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002902/0.3802, allocations: 0.5826 MB / 410.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.3813, allocations: 324.5 kB / 410.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00358/0.3849, allocations: 1.765 MB / 412.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.386, allocations: 449.8 kB / 412.9 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.3877, allocations: 0.6958 MB / 413.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.3892, allocations: 0.7386 MB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002696/0.3895, allocations: 157.8 kB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000542/0.39, allocations: 202.9 kB / 414.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.3904, allocations: 331.4 kB / 415 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009375/0.3913, allocations: 0.8087 MB / 415.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002959/0.3943, allocations: 1.993 MB / 417.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3943, allocations: 0 / 417.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3943, allocations: 0 / 417.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.482e-05/0.3943, allocations: 1.125 kB / 417.8 MB, free: 10.6 MB / 334.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.004088/0.3984, allocations: 1.766 MB / 419.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.3985, allocations: 13.23 kB / 419.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002315/0.3987, allocations: 165.8 kB / 419.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006579/0.3994, allocations: 210.1 kB / 419.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.401, allocations: 0.7614 MB / 420.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.4012, allocations: 164.5 kB / 420.9 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.4014, allocations: 126.7 kB / 421 MB, free: 8.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.4035, allocations: 1.137 MB / 422.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.4035, allocations: 1.125 kB / 422.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/0.4036, allocations: 48 kB / 422.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.147e-05/0.4036, allocations: 29.38 kB / 422.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.4052, allocations: 0.7625 MB / 423 MB, free: 7.07 MB / 334.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.006978/0.4122, allocations: 3.809 MB / 426.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.4138, allocations: 0.5543 MB / 427.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.4143, allocations: 245.8 kB / 427.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.4144, allocations: 7.656 kB / 427.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007664/0.4152, allocations: 296 kB / 427.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 3.056e-06/0.4152, allocations: 0 / 427.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.005234/0.4204, allocations: 1.864 MB / 429.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003026/0.4207, allocations: 483.2 kB / 430.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.4224, allocations: 1.105 MB / 431.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/0.4225, allocations: 49.7 kB / 431.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000652/0.4231, allocations: 0.6599 MB / 432 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.4234, allocations: 234 kB / 432.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/0.4237, allocations: 198.8 kB / 432.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.4239, allocations: 341.9 kB / 432.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.4245, allocations: 246.5 kB / 433 MB, free: 14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.4255, allocations: 0.7212 MB / 433.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.4271, allocations: 0.945 MB / 434.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.4271, allocations: 8 kB / 434.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002604/0.4297, allocations: 1.134 MB / 435.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/0.4298, allocations: 67.39 kB / 435.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.4299, allocations: 12 kB / 435.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000691/0.4306, allocations: 162 kB / 436.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.4313, allocations: 207.6 kB / 436.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00522/0.4366, allocations: 3.69 MB / 439.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.4379, allocations: 64.08 kB / 440 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.4381, allocations: 48 kB / 440.1 MB, free: 6.293 MB / 350.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.0006967/0.4388, allocations: 289.6 kB / 440.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/0.4392, allocations: 135.2 kB / 440.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/0.4409, allocations: 0.6983 MB / 441.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.4409, allocations: 4 kB / 441.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4409, allocations: 4 kB / 441.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001602/0.4425, allocations: 0.955 MB / 442.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/0.4466, allocations: 1.756 MB / 443.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4466, allocations: 8.125 kB / 443.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.4471, allocations: 108.1 kB / 444 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/0.4476, allocations: 129.6 kB / 444.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.4477, allocations: 19.94 kB / 444.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004208/0.4519, allocations: 3.373 MB / 447.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.4519, allocations: 4.031 kB / 447.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.4541, allocations: 1.057 MB / 448.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/0.4548, allocations: 187.1 kB / 448.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003738/0.4552, allocations: 12 kB / 448.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008358/0.456, allocations: 35.97 kB / 448.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.4562, allocations: 68.27 kB / 448.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.4562, allocations: 24 kB / 448.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00142/0.4577, allocations: 0.7406 MB / 449.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4577, allocations: 3.938 kB / 449.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00155/0.4592, allocations: 312 kB / 450 MB, free: 11.91 MB / 366.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.002707/0.4619, allocations: 1.627 MB / 451.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.4644, allocations: 1.067 MB / 452.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.4644, allocations: 0 / 452.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.4654, allocations: 0.5294 MB / 453.2 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.4674, allocations: 332.7 kB / 453.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/0.4867, allocations: 9.767 MB / 463.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.4878, allocations: 1.082 MB / 464.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007357/0.4885, allocations: 149.8 kB / 464.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007046/0.4892, allocations: 467.3 kB / 465 MB, free: 12.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4892, allocations: 0 / 465 MB, free: 12.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/0.608, allocations: 30.04 MB / 495 MB, free: 14.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/16.17, allocations: 4.062 kB / 495 MB, free: 14.04 MB / 414.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 649] Reference file matches [Calling sys.exit(0), Time elapsed: 42.20956035493873]