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: 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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 100.2 kB / 18.39 MB, free: 4.66 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.001165/0.001165, allocations: 184.3 kB / 19.33 MB, free: 3.738 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.259/1.259, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001089/0.001089, allocations: 52.31 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07821/0.07931, allocations: 46.62 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.1672/0.2465, allocations: 9.544 MB / 385.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004225/0.2508, allocations: 3.129 MB / 388.5 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005737/0.2514, allocations: 26.72 kB / 388.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.2526, allocations: 0.5779 MB / 389.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009337/0.2536, allocations: 0.5577 MB / 389.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.2541, allocations: 314.9 kB / 390 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.2555, allocations: 1.763 MB / 391.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007599/0.2563, allocations: 0.6351 MB / 392.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000773/0.2571, allocations: 0.6709 MB / 393 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000806/0.2579, allocations: 0.7448 MB / 393.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.2581, allocations: 157.7 kB / 393.9 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.2585, allocations: 204.2 kB / 394.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.2587, allocations: 332 kB / 394.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.2593, allocations: 0.8046 MB / 395.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.2611, allocations: 1.982 MB / 397.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2611, allocations: 0 / 397.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2611, allocations: 1.219 kB / 397.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.2611, allocations: 0 / 397.3 MB, free: 2.09 MB / 318.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.002705/0.2638, allocations: 1.791 MB / 399.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2639, allocations: 13.5 kB / 399.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005442/0.2644, allocations: 201.2 kB / 399.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.2656, allocations: 0.8353 MB / 400.1 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.2657, allocations: 118.8 kB / 400.2 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.2659, allocations: 108.4 kB / 400.3 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.2678, allocations: 1.147 MB / 401.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.2678, allocations: 11.2 kB / 401.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.2679, allocations: 49.72 kB / 401.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.2679, allocations: 29.72 kB / 401.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.2694, allocations: 0.7553 MB / 402.3 MB, free: 15.21 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.005212/0.2747, allocations: 3.918 MB / 406.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.2762, allocations: 0.58 MB / 406.8 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.2767, allocations: 271.9 kB / 407.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.45e-05/0.2768, allocations: 11.47 kB / 407.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000576/0.2773, allocations: 300.3 kB / 407.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 3.747e-06/0.2774, allocations: 0 / 407.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004332/0.2817, allocations: 2.078 MB / 409.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002488/0.282, allocations: 481.2 kB / 409.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.2833, allocations: 1.098 MB / 411 MB, free: 9.145 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.2834, allocations: 47.56 kB / 411.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.2839, allocations: 0.641 MB / 411.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.2841, allocations: 230.3 kB / 411.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.2843, allocations: 191.8 kB / 412.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2845, allocations: 346.9 kB / 412.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.285, allocations: 244.4 kB / 412.7 MB, free: 7.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/0.2858, allocations: 0.7177 MB / 413.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.2871, allocations: 0.9382 MB / 414.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.2872, allocations: 7.375 kB / 414.4 MB, free: 6.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001884/0.2891, allocations: 1.146 MB / 415.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/0.2891, allocations: 61.56 kB / 415.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.2891, allocations: 13.16 kB / 415.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005271/0.2897, allocations: 169.7 kB / 415.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.2903, allocations: 204.6 kB / 415.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003918/0.2942, allocations: 3.883 MB / 419.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009072/0.2951, allocations: 71.77 kB / 419.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.2952, allocations: 53.97 kB / 420 MB, free: 1.742 MB / 334.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.0004204/0.2956, allocations: 292.9 kB / 420.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.2958, allocations: 124.4 kB / 420.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.2972, allocations: 0.7125 MB / 421.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2972, allocations: 5.938 kB / 421.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2972, allocations: 1.125 kB / 421.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/0.2984, allocations: 0.9545 MB / 422 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.3009, allocations: 1.789 MB / 423.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3009, allocations: 224 / 423.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.3014, allocations: 111.8 kB / 423.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003766/0.3018, allocations: 129.6 kB / 424.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.3018, allocations: 23.92 kB / 424.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/0.3048, allocations: 3.576 MB / 427.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/0.3048, allocations: 4.031 kB / 427.7 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.3065, allocations: 1.054 MB / 428.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/0.3069, allocations: 255.6 kB / 429 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.307, allocations: 24 kB / 429 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/0.3076, allocations: 35.97 kB / 429 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3077, allocations: 60.42 kB / 429.1 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.3078, allocations: 20 kB / 429.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008995/0.3087, allocations: 0.7445 MB / 429.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3087, allocations: 0 / 429.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001009/0.3097, allocations: 316.1 kB / 430.2 MB, free: 7.43 MB / 350.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.0002286/0.31, allocations: 128.7 kB / 430.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.3119, allocations: 1.093 MB / 431.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.3119, allocations: 4 kB / 431.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008319/0.3127, allocations: 0.5356 MB / 431.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.314, allocations: 337.2 kB / 432.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.3174, allocations: 2.266 MB / 434.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.3181, allocations: 1.086 MB / 435.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.3183, allocations: 91.42 kB / 435.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3183, allocations: 4 kB / 435.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of Templates: time 0.02714/0.3455, allocations: 26.3 MB / 462 MB, free: 7.375 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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