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.007859/0.007859, allocations: 100.4 kB / 21.96 MB, free: 5.199 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.002057/0.002057, allocations: 218 kB / 25.26 MB, free: 3.137 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.335/1.335, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.001688/0.001688, allocations: 52.44 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.237, allocations: 49.16 MB / 397.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009115/0.2461, allocations: 8.376 MB / 405.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00519/0.2513, allocations: 2.921 MB / 408.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.2524, allocations: 33.81 kB / 408.5 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.2539, allocations: 0.5576 MB / 409 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.2555, allocations: 0.5907 MB / 409.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007531/0.2563, allocations: 313.4 kB / 409.9 MB, free: 384 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.2585, allocations: 1.759 MB / 411.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007373/0.2592, allocations: 456 kB / 412.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.2603, allocations: 0.6977 MB / 412.8 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.2613, allocations: 0.7426 MB / 413.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.2615, allocations: 156.9 kB / 413.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.2619, allocations: 197.9 kB / 413.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.2622, allocations: 335.7 kB / 414.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007054/0.2629, allocations: 0.6616 MB / 414.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.2651, allocations: 2.01 MB / 416.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2651, allocations: 1 kB / 416.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2651, allocations: 0 / 416.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.2651, allocations: 0 / 416.9 MB, free: 12.2 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.003248/0.2683, allocations: 1.769 MB / 418.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.2684, allocations: 18.45 kB / 418.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.518e-05/0.2684, allocations: 32.28 kB / 418.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.2686, allocations: 169.7 kB / 418.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006173/0.2692, allocations: 211.6 kB / 419.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.2707, allocations: 0.7572 MB / 419.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.2709, allocations: 171.4 kB / 420 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.2711, allocations: 115.2 kB / 420.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.2733, allocations: 1.564 MB / 421.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.2733, allocations: 10.69 kB / 421.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-05/0.2734, allocations: 46.56 kB / 421.8 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.2734, allocations: 30.09 kB / 421.8 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.275, allocations: 0.7579 MB / 422.6 MB, free: 8.133 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.00565/0.2806, allocations: 3.357 MB / 425.9 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.2821, allocations: 0.5506 MB / 426.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.2827, allocations: 250.7 kB / 426.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.2827, allocations: 12.44 kB / 426.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006373/0.2833, allocations: 315.9 kB / 427 MB, free: 4.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 2.515e-06/0.2833, allocations: 0 / 427 MB, free: 4.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004745/0.2881, allocations: 1.869 MB / 428.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002711/0.2883, allocations: 471.3 kB / 429.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.2899, allocations: 1.113 MB / 430.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.2899, allocations: 41.7 kB / 430.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/0.2905, allocations: 0.6638 MB / 431.2 MB, free: 368 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.2907, allocations: 242 kB / 431.4 MB, free: 124 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/0.291, allocations: 194.8 kB / 431.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2912, allocations: 345.9 kB / 431.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/0.2917, allocations: 305.9 kB / 432.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.293, allocations: 1.167 MB / 433.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.2944, allocations: 0.9528 MB / 434.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.2944, allocations: 4 kB / 434.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002174/0.2966, allocations: 1.192 MB / 435.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.2966, allocations: 63.39 kB / 435.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.2966, allocations: 12 kB / 435.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/0.2972, allocations: 161.8 kB / 435.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/0.2979, allocations: 211.6 kB / 436 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/0.3024, allocations: 3.662 MB / 439.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.3035, allocations: 68.02 kB / 439.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/0.3035, allocations: 47.98 kB / 439.8 MB, free: 6.957 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.0004817/0.304, allocations: 289.7 kB / 440.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.3042, allocations: 131.2 kB / 440.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.3057, allocations: 0.706 MB / 440.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.3057, allocations: 8 kB / 440.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3057, allocations: 0 / 440.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001412/0.3071, allocations: 0.9473 MB / 441.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.3101, allocations: 1.616 MB / 443.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3101, allocations: 3.938 kB / 443.5 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/0.3106, allocations: 103.9 kB / 443.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.3111, allocations: 129.6 kB / 443.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.3111, allocations: 20.02 kB / 443.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003661/0.3148, allocations: 3.354 MB / 447.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3148, allocations: 7.969 kB / 447.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.3167, allocations: 1.042 MB / 448.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.3172, allocations: 191.1 kB / 448.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.3174, allocations: 15.98 kB / 448.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.318, allocations: 39.97 kB / 448.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.3182, allocations: 60.28 kB / 448.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.3182, allocations: 23.98 kB / 448.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00113/0.3193, allocations: 0.7445 MB / 449.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3193, allocations: 0 / 449.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001143/0.3205, allocations: 304 kB / 449.5 MB, free: 12.76 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.002368/0.3228, allocations: 1.635 MB / 451.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.3251, allocations: 1.114 MB / 452.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3251, allocations: 0.9375 kB / 452.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009879/0.3261, allocations: 0.5352 MB / 452.8 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.3276, allocations: 325 kB / 453.1 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.3431, allocations: 9.983 MB / 463.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.3436, allocations: 0.4974 MB / 463.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005794/0.3442, allocations: 145.8 kB / 463.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/0.3448, allocations: 471.3 kB / 464.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3448, allocations: 0 / 464.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07214/0.4169, allocations: 31.38 MB / 495.6 MB, free: 13.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.39, allocations: 4 kB / 495.6 MB, free: 13.78 MB / 414.1 MB " [Timeout remaining time 644] (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.35651558195241]