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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00104/0.00104, allocations: 116.3 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 210 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.244, allocations: 50.55 MB / 409.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009199/0.2532, allocations: 9.613 MB / 419.6 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004245/0.2575, allocations: 3.143 MB / 422.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005568/0.2581, allocations: 31.88 kB / 422.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.2593, allocations: 0.586 MB / 423.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009789/0.2603, allocations: 0.5503 MB / 423.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.2608, allocations: 319.5 kB / 424.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.2622, allocations: 1.763 MB / 425.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007066/0.263, allocations: 0.6336 MB / 426.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006938/0.2637, allocations: 0.6771 MB / 427.3 MB, free: 292 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006888/0.2644, allocations: 0.743 MB / 428 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.2645, allocations: 163.9 kB / 428.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.2648, allocations: 199.9 kB / 428.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.265, allocations: 334.8 kB / 428.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005697/0.2656, allocations: 0.8087 MB / 429.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.2672, allocations: 1.981 MB / 431.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2672, allocations: 4 kB / 431.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2672, allocations: 0 / 431.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.2672, allocations: 0 / 431.5 MB, free: 12.05 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.002677/0.2699, allocations: 1.789 MB / 433.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.2699, allocations: 12.03 kB / 433.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000481/0.2704, allocations: 203 kB / 433.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.2716, allocations: 0.825 MB / 434.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.2717, allocations: 116.4 kB / 434.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.2718, allocations: 120 kB / 434.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.2735, allocations: 1.135 MB / 435.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.2735, allocations: 7.938 kB / 435.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.2736, allocations: 52 kB / 435.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.2736, allocations: 24 kB / 435.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.275, allocations: 0.7574 MB / 436.5 MB, free: 6.809 MB / 350.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.00461/0.2796, allocations: 3.91 MB / 440.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.2809, allocations: 0.5786 MB / 441 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.2814, allocations: 266.9 kB / 441.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.2814, allocations: 16.53 kB / 441.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000535/0.282, allocations: 306.9 kB / 441.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.324e-06/0.282, allocations: 0 / 441.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.003953/0.286, allocations: 2.077 MB / 443.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.2861, allocations: 471.2 kB / 444.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.2873, allocations: 1.105 MB / 445.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.2874, allocations: 45.7 kB / 445.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.2878, allocations: 0.6427 MB / 445.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.2879, allocations: 228.7 kB / 446.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.2882, allocations: 198.7 kB / 446.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2883, allocations: 341.9 kB / 446.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.2888, allocations: 246.5 kB / 446.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/0.2895, allocations: 0.7246 MB / 447.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.2907, allocations: 0.9414 MB / 448.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.2907, allocations: 7.938 kB / 448.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001752/0.2924, allocations: 1.137 MB / 449.7 MB, free: 8.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.2925, allocations: 71.8 kB / 449.8 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2925, allocations: 8 kB / 449.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/0.293, allocations: 168 kB / 449.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.2936, allocations: 211.6 kB / 450.2 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003568/0.2972, allocations: 3.892 MB / 454 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.298, allocations: 67.97 kB / 454.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.298, allocations: 47.98 kB / 454.2 MB, free: 3.988 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.0003661/0.2984, allocations: 293.6 kB / 454.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.2985, allocations: 122.5 kB / 454.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.2999, allocations: 0.7038 MB / 455.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.2999, allocations: 8 kB / 455.3 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2999, allocations: 0 / 455.3 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/0.3011, allocations: 0.9568 MB / 456.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.3035, allocations: 1.793 MB / 458 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3035, allocations: 4.219 kB / 458 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.304, allocations: 107.8 kB / 458.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/0.3044, allocations: 125.6 kB / 458.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.3044, allocations: 19.98 kB / 458.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/0.3073, allocations: 3.599 MB / 461.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3073, allocations: 0 / 461.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.3089, allocations: 1.05 MB / 462.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.3093, allocations: 251.6 kB / 463.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.3094, allocations: 16 kB / 463.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.3099, allocations: 35.97 kB / 463.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3101, allocations: 60.42 kB / 463.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.3101, allocations: 23.98 kB / 463.3 MB, free: 10.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008517/0.311, allocations: 0.7406 MB / 464 MB, free: 9.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.311, allocations: 0 / 464 MB, free: 9.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000852/0.3118, allocations: 308 kB / 464.3 MB, free: 9.23 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.0001985/0.312, allocations: 142.8 kB / 464.5 MB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.3137, allocations: 1.1 MB / 465.6 MB, free: 7.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3137, allocations: 4.375 kB / 465.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007899/0.3145, allocations: 0.5432 MB / 466.1 MB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3157, allocations: 339.6 kB / 466.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.3188, allocations: 2.251 MB / 468.7 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.3194, allocations: 1.085 MB / 469.8 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.3196, allocations: 79.44 kB / 469.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3196, allocations: 0 / 469.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of Templates: time 0.02606/0.3457, allocations: 26.5 MB / 496.4 MB, free: 9.098 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) 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.0.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) Reference file matches