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.007127/0.007127, allocations: 110.4 kB / 21.96 MB, free: 5.254 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.002509/0.002509, allocations: 206.5 kB / 25.27 MB, free: 3.234 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.354/1.354, allocations: 207.6 MB / 236 MB, free: 9.984 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="cs",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="cs",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.001612/0.001612, allocations: 59.88 kB / 348 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2375, allocations: 49.16 MB / 397.2 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.008389/0.2459, allocations: 9.629 MB / 406.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005125/0.251, allocations: 3.14 MB / 409.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.2521, allocations: 35.25 kB / 410 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.2537, allocations: 0.608 MB / 410.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.2551, allocations: 0.5854 MB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.2558, allocations: 324.9 kB / 411.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001968/0.2578, allocations: 1.76 MB / 413.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007234/0.2585, allocations: 459.6 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009325/0.2594, allocations: 0.6847 MB / 414.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009522/0.2604, allocations: 0.7534 MB / 415.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.2606, allocations: 158.3 kB / 415.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.2609, allocations: 195.4 kB / 415.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.2612, allocations: 336 kB / 415.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.262, allocations: 0.8046 MB / 416.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.2641, allocations: 1.992 MB / 418.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2641, allocations: 0 / 418.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2641, allocations: 0 / 418.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.2642, allocations: 5.484 kB / 418.6 MB, free: 10.59 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.003126/0.2673, allocations: 1.754 MB / 420.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2673, allocations: 13.52 kB / 420.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.913e-05/0.2674, allocations: 32.27 kB / 420.4 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/0.2676, allocations: 164.9 kB / 420.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/0.2681, allocations: 210.7 kB / 420.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.2696, allocations: 0.7656 MB / 421.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.2697, allocations: 171 kB / 421.7 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.2699, allocations: 111.6 kB / 421.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.2718, allocations: 1.136 MB / 422.9 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.2718, allocations: 10.14 kB / 422.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.697e-05/0.2719, allocations: 46.98 kB / 423 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.2719, allocations: 26.34 kB / 423 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.2735, allocations: 0.7584 MB / 423.8 MB, free: 7.066 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.006207/0.2797, allocations: 3.817 MB / 427.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.2812, allocations: 0.5584 MB / 428.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005115/0.2817, allocations: 242.7 kB / 428.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.2818, allocations: 7.406 kB / 428.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006341/0.2824, allocations: 299.1 kB / 428.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.555e-06/0.2824, allocations: 0 / 428.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004924/0.2873, allocations: 1.861 MB / 430.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003062/0.2877, allocations: 479.3 kB / 431 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.2892, allocations: 1.109 MB / 432.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.2893, allocations: 37.7 kB / 432.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/0.2899, allocations: 0.6638 MB / 432.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.2901, allocations: 238 kB / 433.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002943/0.2904, allocations: 202.8 kB / 433.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2905, allocations: 349.9 kB / 433.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.2911, allocations: 242.5 kB / 433.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009648/0.292, allocations: 0.7134 MB / 434.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.2934, allocations: 0.9489 MB / 435.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.2934, allocations: 4 kB / 435.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002127/0.2956, allocations: 1.142 MB / 436.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.373e-05/0.2956, allocations: 63.41 kB / 436.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.2957, allocations: 12 kB / 436.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/0.2962, allocations: 169.8 kB / 436.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.2969, allocations: 203.7 kB / 437.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004608/0.3015, allocations: 3.694 MB / 440.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.3026, allocations: 63.91 kB / 440.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.3026, allocations: 48 kB / 440.9 MB, free: 6.238 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.0004937/0.3031, allocations: 293.7 kB / 441.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.3033, allocations: 131.2 kB / 441.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.3048, allocations: 0.706 MB / 442 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.3048, allocations: 8 kB / 442 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3048, allocations: 3.938 kB / 442 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.3062, allocations: 0.9473 MB / 443 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.3092, allocations: 1.752 MB / 444.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3092, allocations: 4 kB / 444.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.3097, allocations: 107.8 kB / 444.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.3101, allocations: 129.9 kB / 445 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.3102, allocations: 15.98 kB / 445 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003604/0.3138, allocations: 3.377 MB / 448.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.3138, allocations: 8.094 kB / 448.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.3157, allocations: 1.05 MB / 449.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/0.3161, allocations: 183.1 kB / 449.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.3163, allocations: 23.98 kB / 449.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.3169, allocations: 35.97 kB / 449.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.317, allocations: 56.34 kB / 449.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.3171, allocations: 23.98 kB / 449.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001131/0.3182, allocations: 0.7445 MB / 450.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3182, allocations: 0 / 450.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001056/0.3192, allocations: 307.9 kB / 450.8 MB, free: 11.87 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.002324/0.3216, allocations: 1.635 MB / 452.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.3237, allocations: 1.057 MB / 453.5 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3237, allocations: 8.062 kB / 453.5 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009569/0.3246, allocations: 0.535 MB / 454 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.3261, allocations: 333.2 kB / 454.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.3419, allocations: 9.775 MB / 464.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009325/0.3428, allocations: 1.082 MB / 465.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006292/0.3434, allocations: 149.8 kB / 465.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/0.3441, allocations: 467.3 kB / 465.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3441, allocations: 0 / 465.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07402/0.4181, allocations: 30.05 MB / 495.8 MB, free: 13.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.11, allocations: 7.938 kB / 495.8 MB, free: 13.96 MB / 414.1 MB " [Timeout remaining time 645] (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 643] Reference file matches [Calling sys.exit(0), Time elapsed: 54.63055547198746]