Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00148/0.00148, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00164/0.00164, allocations: 211.9 kB / 24.51 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 43.92 kB / 378.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.257, allocations: 53.35 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01133/0.2684, allocations: 8.466 MB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005898/0.2743, allocations: 2.936 MB / 443.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.2753, allocations: 27.88 kB / 443.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.2769, allocations: 0.5667 MB / 443.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.2783, allocations: 0.5854 MB / 444.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006821/0.279, allocations: 319.5 kB / 444.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.2809, allocations: 1.767 MB / 446.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006907/0.2816, allocations: 453.3 kB / 447 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008437/0.2825, allocations: 0.6927 MB / 447.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008813/0.2833, allocations: 0.7467 MB / 448.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.2836, allocations: 164 kB / 448.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.2839, allocations: 196 kB / 448.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.2842, allocations: 334.8 kB / 449.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006697/0.2849, allocations: 0.6573 MB / 449.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.2869, allocations: 2.008 MB / 451.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2869, allocations: 0 / 451.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2869, allocations: 0 / 451.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.287, allocations: 0 / 451.8 MB, free: 2.652 MB / 350.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.003094/0.2901, allocations: 1.767 MB / 453.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2901, allocations: 12.03 kB / 453.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.808e-05/0.2901, allocations: 26.33 kB / 453.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.2903, allocations: 161 kB / 453.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005587/0.2909, allocations: 207.9 kB / 453.9 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.2922, allocations: 0.768 MB / 454.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.2924, allocations: 171.5 kB / 454.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.2926, allocations: 111.9 kB / 455 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.2948, allocations: 1.573 MB / 456.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.2948, allocations: 4 kB / 456.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-05/0.2949, allocations: 44 kB / 456.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.295, allocations: 31.94 kB / 456.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.2965, allocations: 0.7613 MB / 457.4 MB, free: 12.71 MB / 366.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.005499/0.302, allocations: 3.36 MB / 460.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.3035, allocations: 0.5424 MB / 461.3 MB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.304, allocations: 247.3 kB / 461.5 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.304, allocations: 4.5 kB / 461.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006978/0.3047, allocations: 331.8 kB / 461.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.337e-06/0.3047, allocations: 0 / 461.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004803/0.3095, allocations: 1.865 MB / 463.7 MB, free: 6.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000305/0.3098, allocations: 479.3 kB / 464.2 MB, free: 5.578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.3115, allocations: 1.105 MB / 465.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.781e-05/0.3116, allocations: 41.7 kB / 465.3 MB, free: 4.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/0.3122, allocations: 0.6599 MB / 466 MB, free: 3.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.3124, allocations: 242 kB / 466.2 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/0.3127, allocations: 198.8 kB / 466.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3129, allocations: 349.8 kB / 466.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.3134, allocations: 301.9 kB / 467.1 MB, free: 2.652 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.3146, allocations: 1.173 MB / 468.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.3161, allocations: 0.9412 MB / 469.2 MB, free: 48 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.3161, allocations: 4 kB / 469.2 MB, free: 44 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00226/0.3184, allocations: 1.192 MB / 470.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.997e-05/0.3184, allocations: 75.52 kB / 470.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3185, allocations: 8 kB / 470.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/0.3191, allocations: 168.9 kB / 470.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.3198, allocations: 203.6 kB / 470.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004602/0.3244, allocations: 3.659 MB / 474.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.3254, allocations: 68.02 kB / 474.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.3255, allocations: 52 kB / 474.6 MB, free: 10.36 MB / 382.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.0005071/0.326, allocations: 293.6 kB / 474.9 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.3261, allocations: 127.2 kB / 475 MB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.3277, allocations: 0.6983 MB / 475.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.3277, allocations: 8 kB / 475.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.3277, allocations: 0 / 475.7 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001435/0.3291, allocations: 0.9512 MB / 476.7 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.332, allocations: 1.62 MB / 478.3 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.332, allocations: 4 kB / 478.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.3325, allocations: 112 kB / 478.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.3329, allocations: 129.6 kB / 478.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.333, allocations: 15.98 kB / 478.5 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003695/0.3367, allocations: 3.339 MB / 481.9 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3367, allocations: 8.094 kB / 481.9 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.3386, allocations: 1.053 MB / 482.9 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.3391, allocations: 183.3 kB / 483.1 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.3392, allocations: 20 kB / 483.1 MB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.3398, allocations: 35.97 kB / 483.2 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3399, allocations: 60.33 kB / 483.2 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.34, allocations: 23.98 kB / 483.3 MB, free: 1.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001108/0.3411, allocations: 0.7445 MB / 484 MB, free: 468 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3411, allocations: 0 / 484 MB, free: 468 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001044/0.3421, allocations: 308 kB / 484.3 MB, free: 160 kB / 382.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.002351/0.3445, allocations: 1.654 MB / 486 MB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002157/0.3466, allocations: 1.119 MB / 487.1 MB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.3467, allocations: 4 kB / 487.1 MB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009934/0.3476, allocations: 0.5319 MB / 487.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.349, allocations: 333.5 kB / 487.9 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.364, allocations: 9.971 MB / 497.9 MB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.3645, allocations: 0.4935 MB / 498.4 MB, free: 1.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006358/0.3652, allocations: 149.8 kB / 498.5 MB, free: 1.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.3658, allocations: 475.2 kB / 499 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3658, allocations: 0 / 499 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07615/0.4419, allocations: 31.39 MB / 0.518 GB, free: 1.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.51, allocations: 4.062 kB / 0.518 GB, free: 1.828 MB / 430.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 642] Reference file matches [Calling sys.exit(0), Time elapsed: 54.6020478940336]