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.001344/0.001344, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001425/0.001425, allocations: 215 kB / 24.47 MB, free: 3.777 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.349/1.349, allocations: 207.7 MB / 235.3 MB, free: 9.789 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="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"}) [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.001929/0.001929, allocations: 58.58 kB / 347.2 MB, free: 9.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2599, allocations: 49.15 MB / 396.4 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.008047/0.268, allocations: 8.383 MB / 404.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004274/0.2723, allocations: 2.934 MB / 407.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005988/0.2729, allocations: 31.25 kB / 407.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.2741, allocations: 0.549 MB / 408.3 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.2751, allocations: 0.5982 MB / 408.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.2756, allocations: 318.5 kB / 409.2 MB, free: 376 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.2775, allocations: 1.761 MB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007/0.2782, allocations: 430.7 kB / 411.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009835/0.2792, allocations: 0.685 MB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008921/0.2801, allocations: 0.6424 MB / 412.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.2803, allocations: 157.1 kB / 412.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.2807, allocations: 201.1 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.281, allocations: 336.5 kB / 413.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007143/0.2817, allocations: 0.6639 MB / 414 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.2838, allocations: 2.003 MB / 416 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2838, allocations: 0 / 416 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2838, allocations: 5.312 kB / 416 MB, free: 12.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.2838, allocations: 0 / 416 MB, free: 12.31 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.003188/0.287, allocations: 1.761 MB / 417.8 MB, free: 11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.287, allocations: 14.77 kB / 417.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/0.2872, allocations: 173.3 kB / 418 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005829/0.2878, allocations: 202.7 kB / 418.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.2894, allocations: 0.7682 MB / 418.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.2896, allocations: 172.8 kB / 419.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.2898, allocations: 115.6 kB / 419.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.2922, allocations: 1.564 MB / 420.8 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.2922, allocations: 10.69 kB / 420.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.591e-05/0.2923, allocations: 47 kB / 420.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.2924, allocations: 30.12 kB / 420.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.294, allocations: 0.7534 MB / 421.6 MB, free: 8.254 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.005942/0.2999, allocations: 3.357 MB / 425 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.3014, allocations: 0.547 MB / 425.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.3019, allocations: 245.7 kB / 425.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.492e-05/0.3019, allocations: 8.5 kB / 425.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006214/0.3026, allocations: 319.8 kB / 426.1 MB, free: 4.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.585e-06/0.3026, allocations: 4 kB / 426.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.005084/0.3077, allocations: 1.876 MB / 428 MB, free: 2.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002859/0.3079, allocations: 475.3 kB / 428.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.3095, allocations: 1.129 MB / 429.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/0.3096, allocations: 37.7 kB / 429.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/0.3102, allocations: 0.6599 MB / 430.3 MB, free: 492 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.3104, allocations: 246 kB / 430.5 MB, free: 244 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.3107, allocations: 190.9 kB / 430.7 MB, free: 48 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.3109, allocations: 341.9 kB / 431 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006141/0.3115, allocations: 309.9 kB / 431.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.3128, allocations: 1.165 MB / 432.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.3143, allocations: 0.9489 MB / 433.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.3143, allocations: 4 kB / 433.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002317/0.3166, allocations: 1.208 MB / 434.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/0.3166, allocations: 63.39 kB / 434.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.3167, allocations: 12 kB / 434.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.3173, allocations: 173.8 kB / 434.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/0.318, allocations: 207.6 kB / 435.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004491/0.3225, allocations: 3.647 MB / 438.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3235, allocations: 64.08 kB / 438.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/0.3235, allocations: 47.98 kB / 438.9 MB, free: 7.078 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.0004843/0.324, allocations: 293.6 kB / 439.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.3242, allocations: 131.2 kB / 439.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.3257, allocations: 0.7022 MB / 440 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.3257, allocations: 7.984 kB / 440 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3257, allocations: 11.92 kB / 440 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00146/0.3272, allocations: 0.9473 MB / 440.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.3302, allocations: 1.612 MB / 442.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3302, allocations: 0 / 442.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.3307, allocations: 107.8 kB / 442.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.3311, allocations: 133.8 kB / 442.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.3312, allocations: 15.94 kB / 442.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003705/0.3349, allocations: 3.346 MB / 446.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3349, allocations: 0 / 446.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.3369, allocations: 1.057 MB / 447.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005146/0.3374, allocations: 183.1 kB / 447.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.3375, allocations: 23.97 kB / 447.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.3382, allocations: 39.97 kB / 447.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.3383, allocations: 56.34 kB / 447.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.3383, allocations: 23.98 kB / 447.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.3394, allocations: 0.7406 MB / 448.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3394, allocations: 0 / 448.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001058/0.3404, allocations: 308 kB / 448.6 MB, free: 12.88 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.002297/0.3427, allocations: 1.639 MB / 450.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.3448, allocations: 1.107 MB / 451.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3448, allocations: 4 kB / 451.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009472/0.3458, allocations: 0.5352 MB / 451.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.3471, allocations: 329.4 kB / 452.2 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/0.3629, allocations: 9.98 MB / 462.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.3635, allocations: 0.4974 MB / 462.7 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006091/0.3641, allocations: 149.8 kB / 462.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000636/0.3648, allocations: 471.3 kB / 463.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3648, allocations: 0 / 463.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08079/0.4456, allocations: 31.63 MB / 494.9 MB, free: 13.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/13.94, allocations: 7.953 kB / 494.9 MB, free: 13.63 MB / 414.1 MB " [Timeout remaining time 646] (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 650] Reference file matches [Calling sys.exit(0), Time elapsed: 39.72860557306558]