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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 102.9 kB / 17.58 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 191.9 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 51.94 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08775, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01075/0.09855, allocations: 9.542 MB / 336.9 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004999/0.1036, allocations: 3.112 MB / 340 MB, free: 7.656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009706/0.1046, allocations: 27.88 kB / 340.1 MB, free: 7.629 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.1062, allocations: 0.5977 MB / 340.7 MB, free: 7.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.1078, allocations: 0.5503 MB / 341.2 MB, free: 6.473 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.1087, allocations: 319.5 kB / 341.5 MB, free: 6.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0021/0.1108, allocations: 1.751 MB / 343.3 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000881/0.1117, allocations: 0.6336 MB / 343.9 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008989/0.1126, allocations: 0.6771 MB / 344.6 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.1137, allocations: 0.7429 MB / 345.3 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003081/0.114, allocations: 156 kB / 345.5 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000517/0.1145, allocations: 196 kB / 345.7 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.1148, allocations: 338.8 kB / 346 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009611/0.1158, allocations: 0.8009 MB / 346.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.1176, allocations: 1.958 MB / 348.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1176, allocations: 0 / 348.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1176, allocations: 0 / 348.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.1176, allocations: 0 / 348.8 MB, free: 14.88 MB / 302.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.002808/0.1204, allocations: 1.8 MB / 350.6 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1205, allocations: 8.031 kB / 350.6 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.1207, allocations: 164.9 kB / 350.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005446/0.1212, allocations: 203 kB / 350.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.1224, allocations: 0.8133 MB / 351.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.1225, allocations: 108.4 kB / 351.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.1227, allocations: 123.8 kB / 352 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.1244, allocations: 1.135 MB / 353.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.1244, allocations: 7.906 kB / 353.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/0.1245, allocations: 44 kB / 353.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.1246, allocations: 32 kB / 353.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.1261, allocations: 0.7574 MB / 353.9 MB, free: 9.465 MB / 302.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.005311/0.1314, allocations: 3.961 MB / 357.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.1328, allocations: 0.5738 MB / 358.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004701/0.1333, allocations: 266.9 kB / 358.7 MB, free: 4.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.1334, allocations: 12.5 kB / 358.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006444/0.134, allocations: 299 kB / 359 MB, free: 4.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 2.254e-06/0.134, allocations: 0 / 359 MB, free: 4.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004297/0.1383, allocations: 2.077 MB / 361.1 MB, free: 1.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002075/0.1386, allocations: 475.2 kB / 361.6 MB, free: 1.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.1399, allocations: 1.105 MB / 362.7 MB, free: 288 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.1399, allocations: 41.7 kB / 362.7 MB, free: 240 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/0.1404, allocations: 0.6467 MB / 363.4 MB, free: 15.58 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.1406, allocations: 232.7 kB / 363.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003081/0.1409, allocations: 194.7 kB / 363.8 MB, free: 15.15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1411, allocations: 345.9 kB / 364.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/0.1416, allocations: 246.5 kB / 364.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.1424, allocations: 0.7208 MB / 365.1 MB, free: 13.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.1437, allocations: 0.9414 MB / 366 MB, free: 12.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.1437, allocations: 8 kB / 366 MB, free: 12.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001941/0.1457, allocations: 1.141 MB / 367.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.1457, allocations: 63.41 kB / 367.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.1458, allocations: 12.44 kB / 367.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/0.1463, allocations: 170.9 kB / 367.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.147, allocations: 211.6 kB / 367.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004702/0.1517, allocations: 3.887 MB / 371.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.1528, allocations: 63.86 kB / 371.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.1529, allocations: 44 kB / 371.6 MB, free: 6.621 MB / 318.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.0004851/0.1534, allocations: 297.7 kB / 371.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.1535, allocations: 122.5 kB / 372 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.1551, allocations: 0.7115 MB / 372.7 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1551, allocations: 7.938 kB / 372.8 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1551, allocations: 0 / 372.8 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001506/0.1567, allocations: 0.9568 MB / 373.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.1597, allocations: 1.794 MB / 375.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.1597, allocations: 4.125 kB / 375.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.1602, allocations: 111.8 kB / 375.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004224/0.1606, allocations: 125.8 kB / 375.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.1607, allocations: 19.98 kB / 375.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1601/0.3207, allocations: 3.583 MB / 379.3 MB, free: 50.26 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3208, allocations: 2.125 kB / 379.3 MB, free: 50.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.323, allocations: 1.045 MB / 380.4 MB, free: 50.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.3235, allocations: 254.8 kB / 380.6 MB, free: 49.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.3237, allocations: 23.62 kB / 380.7 MB, free: 49.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.3243, allocations: 34.3 kB / 380.7 MB, free: 49.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.3245, allocations: 63.08 kB / 380.8 MB, free: 49.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.3245, allocations: 19.58 kB / 380.8 MB, free: 49.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.3261, allocations: 0.7416 MB / 381.5 MB, free: 49.85 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3261, allocations: 3.656 kB / 381.5 MB, free: 49.85 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001663/0.3278, allocations: 308.8 kB / 381.8 MB, free: 49.85 MB / 318.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.002609/0.3304, allocations: 1.629 MB / 383.5 MB, free: 49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.3328, allocations: 1.118 MB / 384.6 MB, free: 48.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.3328, allocations: 1.031 kB / 384.6 MB, free: 48.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.3339, allocations: 0.5553 MB / 385.1 MB, free: 48.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.3359, allocations: 332.8 kB / 385.5 MB, free: 47.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.3504, allocations: 10.75 MB / 396.2 MB, free: 41.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.351, allocations: 1.084 MB / 397.3 MB, free: 40.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006988/0.3518, allocations: 147.8 kB / 397.4 MB, free: 40.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.3522, allocations: 469.9 kB / 397.9 MB, free: 40.2 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3522, allocations: 0 / 397.9 MB, free: 40.2 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05847/0.4107, allocations: 28.6 MB / 426.5 MB, free: 14.61 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/13.96, allocations: 20.22 kB / 426.5 MB, free: 14.59 MB / 318.1 MB (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 --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) 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) Reference file matches