Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008619/0.0008619, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9639/0.9639, allocations: 177 MB / 204.1 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2866/0.2866, allocations: 34.85 MB / 295.5 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 443.2 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.72e-05, allocations: 8.812 kB / 443.2 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.1833/0.1833, allocations: 8.539 MB / 451.7 MB, free: 38.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.1879, allocations: 2.957 MB / 454.7 MB, free: 36.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.1889, allocations: 30.09 kB / 454.7 MB, free: 36.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.1903, allocations: 0.5769 MB / 455.3 MB, free: 36.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.1915, allocations: 0.5944 MB / 455.9 MB, free: 35.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.192, allocations: 329 kB / 456.2 MB, free: 35.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.1936, allocations: 1.831 MB / 458 MB, free: 34.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005353/0.1941, allocations: 431.5 kB / 458.5 MB, free: 34.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.1951, allocations: 1.033 MB / 459.5 MB, free: 34.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005306/0.1956, allocations: 0.5412 MB / 460 MB, free: 33.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.1958, allocations: 160.2 kB / 460.2 MB, free: 33.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.1961, allocations: 205.7 kB / 460.4 MB, free: 33.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1963, allocations: 337.9 kB / 460.7 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003949/0.1967, allocations: 0.5582 MB / 461.3 MB, free: 33.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.198, allocations: 2.012 MB / 463.3 MB, free: 32.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.198, allocations: 0 / 463.3 MB, free: 32.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.198, allocations: 0 / 463.3 MB, free: 32.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.925e-05/0.198, allocations: 0 / 463.3 MB, free: 32.61 MB / 410.7 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.00181/0.1999, allocations: 1.748 MB / 465 MB, free: 31.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1999, allocations: 10 kB / 465 MB, free: 31.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.2, allocations: 166 kB / 465.2 MB, free: 31.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.2003, allocations: 211.5 kB / 465.4 MB, free: 31.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/0.2013, allocations: 0.7625 MB / 466.2 MB, free: 30.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.472e-05/0.2013, allocations: 168.8 kB / 466.3 MB, free: 30.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/0.2014, allocations: 113.6 kB / 466.5 MB, free: 30.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.2025, allocations: 1.573 MB / 468 MB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.2025, allocations: 3.938 kB / 468 MB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.2026, allocations: 48.53 kB / 468.1 MB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.2026, allocations: 25.28 kB / 468.1 MB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008672/0.2035, allocations: 0.7568 MB / 468.9 MB, free: 29.15 MB / 410.7 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.003129/0.2066, allocations: 3.36 MB / 472.2 MB, free: 27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008705/0.2075, allocations: 0.5499 MB / 472.8 MB, free: 26.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.2078, allocations: 240.7 kB / 473 MB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.2078, allocations: 10.09 kB / 473 MB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003858/0.2082, allocations: 320.8 kB / 473.3 MB, free: 26.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 3.246e-06/0.2082, allocations: 0 / 473.3 MB, free: 26.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.002855/0.211, allocations: 1.858 MB / 475.2 MB, free: 25.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.2111, allocations: 480.2 kB / 475.7 MB, free: 25.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009548/0.2121, allocations: 1.125 MB / 476.8 MB, free: 24.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.2121, allocations: 43.59 kB / 476.8 MB, free: 24.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.2124, allocations: 0.6596 MB / 477.5 MB, free: 24.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.2125, allocations: 247.4 kB / 477.7 MB, free: 23.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.2127, allocations: 193.3 kB / 477.9 MB, free: 23.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.2127, allocations: 344.6 kB / 478.2 MB, free: 23.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.2131, allocations: 301.5 kB / 478.5 MB, free: 23.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.2136, allocations: 1.166 MB / 479.7 MB, free: 22.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000829/0.2145, allocations: 0.945 MB / 480.7 MB, free: 21.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.2145, allocations: 3.062 kB / 480.7 MB, free: 21.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001317/0.2158, allocations: 1.198 MB / 481.9 MB, free: 20.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.2158, allocations: 72 kB / 481.9 MB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.2158, allocations: 8.844 kB / 481.9 MB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.2163, allocations: 174.2 kB / 482.1 MB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.2166, allocations: 205.4 kB / 482.3 MB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/0.2193, allocations: 3.636 MB / 485.9 MB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/0.2201, allocations: 60.59 kB / 486 MB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.2202, allocations: 51.55 kB / 486 MB, free: 17.35 MB / 410.7 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.0004096/0.2206, allocations: 296.2 kB / 486.3 MB, free: 17.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.2207, allocations: 134.2 kB / 486.5 MB, free: 17.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009213/0.2216, allocations: 0.7061 MB / 487.2 MB, free: 16.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2216, allocations: 10.19 kB / 487.2 MB, free: 16.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2216, allocations: 6.328 kB / 487.2 MB, free: 16.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000813/0.2225, allocations: 0.9431 MB / 488.1 MB, free: 16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.2245, allocations: 1.608 MB / 489.7 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.2245, allocations: 2.094 kB / 489.7 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.2248, allocations: 108.8 kB / 489.8 MB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.225, allocations: 132.8 kB / 490 MB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.2251, allocations: 14.84 kB / 490 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.2269, allocations: 3.359 MB / 493.4 MB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2269, allocations: 1.938 kB / 493.4 MB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.2282, allocations: 1.055 MB / 494.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.2286, allocations: 184.5 kB / 494.6 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.2287, allocations: 15.53 kB / 494.6 MB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.229, allocations: 39.78 kB / 494.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.2291, allocations: 61.94 kB / 494.7 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.2291, allocations: 17.38 kB / 494.7 MB, free: 11.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008491/0.23, allocations: 0.75 MB / 495.5 MB, free: 11.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.23, allocations: 3.938 kB / 495.5 MB, free: 11.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009436/0.2309, allocations: 305.8 kB / 495.8 MB, free: 10.99 MB / 410.7 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.001491/0.2324, allocations: 1.628 MB / 497.4 MB, free: 9.883 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.2341, allocations: 1.114 MB / 498.5 MB, free: 9.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.2341, allocations: 2.031 kB / 498.5 MB, free: 9.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.2347, allocations: 0.5412 MB / 499.1 MB, free: 8.883 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2357, allocations: 329 kB / 499.4 MB, free: 8.777 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.2477, allocations: 9.888 MB / 0.4973 GB, free: 3.133 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.2481, allocations: 0.4917 MB / 0.4978 GB, free: 2.996 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006014/0.2487, allocations: 149.2 kB / 0.498 GB, free: 2.957 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.2491, allocations: 474.7 kB / 0.4984 GB, free: 2.598 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2491, allocations: 0 / 0.4984 GB, free: 2.598 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/0.3683, allocations: 31.68 MB / 0.5293 GB, free: 10.69 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.124/9.493, allocations: 15.52 kB / 0.5294 GB, free: 10.68 MB / 442.7 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=5.75 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy_res.csv --start-time 0 --stop-time 5.75 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ../ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.149764550849795]