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.001312/0.001312, allocations: 110.6 kB / 17.73 MB, free: 5.34 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.001363/0.001363, allocations: 194.9 kB / 18.67 MB, free: 4.406 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.362/1.362, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001714/0.001714, allocations: 47.92 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0855/0.08722, allocations: 46.63 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.1845/0.2718, allocations: 9.54 MB / 384.2 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006984/0.2788, allocations: 3.122 MB / 387.3 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.2814, allocations: 26.91 kB / 387.4 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002339/0.2839, allocations: 0.5776 MB / 387.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.2868, allocations: 0.5559 MB / 388.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.2882, allocations: 320.8 kB / 388.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003215/0.2914, allocations: 1.762 MB / 390.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.2927, allocations: 0.6384 MB / 391.2 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.2945, allocations: 0.6674 MB / 391.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.2962, allocations: 0.7449 MB / 392.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.2967, allocations: 158.2 kB / 392.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009183/0.2976, allocations: 195.5 kB / 393 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.298, allocations: 339 kB / 393.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.2994, allocations: 0.8021 MB / 394.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.3031, allocations: 1.996 MB / 396.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.3032, allocations: 3.938 kB / 396.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.3032, allocations: 0 / 396.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000106/0.3033, allocations: 0.5625 kB / 396.1 MB, free: 2.141 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.005564/0.3089, allocations: 1.833 MB / 397.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.656e-05/0.309, allocations: 11.59 kB / 397.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002717/0.3092, allocations: 163 kB / 398.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008704/0.3101, allocations: 210.4 kB / 398.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.3123, allocations: 0.8354 MB / 399.1 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.3125, allocations: 110.9 kB / 399.3 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.3128, allocations: 117.9 kB / 399.4 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.3154, allocations: 1.141 MB / 400.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.579e-05/0.3155, allocations: 5.625 kB / 400.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.3156, allocations: 49.78 kB / 400.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.3157, allocations: 26.06 kB / 400.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.3175, allocations: 0.7606 MB / 401.3 MB, free: 15.11 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.007476/0.325, allocations: 3.928 MB / 405.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.3267, allocations: 0.5891 MB / 405.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/0.3273, allocations: 274.8 kB / 406.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/0.3273, allocations: 12.14 kB / 406.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006789/0.328, allocations: 303.5 kB / 406.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.815e-06/0.328, allocations: 0 / 406.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.005741/0.3338, allocations: 2.091 MB / 408.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002839/0.3341, allocations: 480.3 kB / 409 MB, free: 9.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/0.3364, allocations: 1.11 MB / 410.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.3367, allocations: 40.23 kB / 410.2 MB, free: 9.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000663/0.3373, allocations: 0.6587 MB / 410.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.3376, allocations: 243.5 kB / 411 MB, free: 8.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/0.338, allocations: 203.2 kB / 411.2 MB, free: 8.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3382, allocations: 342.8 kB / 411.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/0.3388, allocations: 244.4 kB / 411.8 MB, free: 7.637 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.3398, allocations: 0.7099 MB / 412.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.3415, allocations: 0.9411 MB / 413.5 MB, free: 6.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.3415, allocations: 6.781 kB / 413.5 MB, free: 6.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002462/0.344, allocations: 1.148 MB / 414.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.838e-05/0.3441, allocations: 61.28 kB / 414.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/0.3441, allocations: 12.81 kB / 414.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/0.3448, allocations: 179.9 kB / 414.9 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.3455, allocations: 203.6 kB / 415.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005092/0.3506, allocations: 3.888 MB / 419 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.3522, allocations: 65.22 kB / 419 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.3524, allocations: 45.12 kB / 419.1 MB, free: 1.625 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.0006592/0.353, allocations: 292.9 kB / 419.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.3533, allocations: 128.7 kB / 419.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.355, allocations: 0.7124 MB / 420.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.355, allocations: 7.25 kB / 420.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3551, allocations: 0 / 420.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001596/0.3567, allocations: 0.954 MB / 421.2 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/0.3605, allocations: 1.797 MB / 422.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3605, allocations: 0 / 422.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/0.361, allocations: 108.1 kB / 423.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.3615, allocations: 121.6 kB / 423.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.3616, allocations: 16.11 kB / 423.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003902/0.3655, allocations: 3.601 MB / 426.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.3655, allocations: 3.938 kB / 426.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.3678, allocations: 1.055 MB / 427.8 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007278/0.3685, allocations: 256.3 kB / 428.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.3688, allocations: 16 kB / 428.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/0.3694, allocations: 39.91 kB / 428.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.3696, allocations: 60.36 kB / 428.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.3696, allocations: 20 kB / 428.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001133/0.3708, allocations: 0.7484 MB / 429 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.3708, allocations: 3.938 kB / 429 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001292/0.3721, allocations: 308 kB / 429.3 MB, free: 7.465 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.002512/0.3746, allocations: 1.625 MB / 430.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002242/0.3769, allocations: 1.118 MB / 432 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3769, allocations: 0 / 432 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009911/0.3779, allocations: 0.5606 MB / 432.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.3795, allocations: 331.2 kB / 432.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.3963, allocations: 9.761 MB / 442.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008239/0.3971, allocations: 1.078 MB / 443.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006774/0.3978, allocations: 149.8 kB / 443.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/0.3985, allocations: 471.3 kB / 444.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3985, allocations: 3.938 kB / 444.4 MB, free: 7.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08046/0.4789, allocations: 29.09 MB / 473.5 MB, free: 10.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/14.8, allocations: 15.78 kB / 473.5 MB, free: 10.45 MB / 398.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