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.001151/0.001151, allocations: 113.9 kB / 20.43 MB, free: 4.605 MB / 13.93 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.001245/0.001245, allocations: 217.3 kB / 23.73 MB, free: 2.129 MB / 13.93 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 1.049/1.049, allocations: 230.6 MB / 257.4 MB, free: 9.492 MB / 202.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.1718/0.1718, allocations: 47.71 MB / 361.6 MB, free: 2.375 MB / 282.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 0.001244/0.001244, allocations: 99.84 kB / 0.4973 GB, free: 7.465 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1239, allocations: 66.22 MB / 0.562 GB, free: 5.113 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2461/0.3699, allocations: 8.539 MB / 0.5703 GB, free: 11.04 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005066/0.375, allocations: 2.942 MB / 0.5732 GB, free: 9.449 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.3763, allocations: 30.09 kB / 0.5732 GB, free: 9.441 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.378, allocations: 0.5666 MB / 0.5737 GB, free: 9.168 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.3802, allocations: 0.5829 MB / 0.5743 GB, free: 8.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.3809, allocations: 322.1 kB / 0.5746 GB, free: 8.559 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002389/0.3833, allocations: 1.765 MB / 0.5763 GB, free: 7.629 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006358/0.384, allocations: 417.8 kB / 0.5767 GB, free: 7.391 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.3852, allocations: 0.7014 MB / 0.5774 GB, free: 7.047 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.3865, allocations: 0.6414 MB / 0.5781 GB, free: 6.758 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.3868, allocations: 162 kB / 0.5782 GB, free: 6.754 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.3874, allocations: 196.5 kB / 0.5784 GB, free: 6.746 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.3875, allocations: 335.7 kB / 0.5787 GB, free: 6.508 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008498/0.3884, allocations: 0.6609 MB / 0.5794 GB, free: 6.156 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.3914, allocations: 2.006 MB / 0.5813 GB, free: 5.379 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3914, allocations: 0 / 0.5813 GB, free: 5.379 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3914, allocations: 1.312 kB / 0.5813 GB, free: 5.379 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.43e-05/0.3914, allocations: 3.938 kB / 0.5813 GB, free: 5.375 MB / 426.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.003114/0.3945, allocations: 1.752 MB / 0.583 GB, free: 4.246 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.3946, allocations: 9 kB / 0.5831 GB, free: 4.246 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.3948, allocations: 164.6 kB / 0.5832 GB, free: 4.137 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004886/0.3952, allocations: 208.6 kB / 0.5834 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.3966, allocations: 0.7711 MB / 0.5842 GB, free: 3.535 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.3967, allocations: 166.7 kB / 0.5843 GB, free: 3.402 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3969, allocations: 112.5 kB / 0.5844 GB, free: 3.363 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.3986, allocations: 1.579 MB / 0.586 GB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.3987, allocations: 6.453 kB / 0.586 GB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.3987, allocations: 43.19 kB / 0.586 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.3988, allocations: 29.86 kB / 0.586 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.4, allocations: 0.7565 MB / 0.5868 GB, free: 1.922 MB / 426.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.004729/0.4047, allocations: 3.368 MB / 0.5901 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.4058, allocations: 0.5424 MB / 0.5906 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/0.4063, allocations: 244.2 kB / 0.5908 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.276e-05/0.4063, allocations: 9.969 kB / 0.5908 GB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005744/0.4069, allocations: 316.9 kB / 0.5911 GB, free: 15.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=62): time 4.358e-06/0.4069, allocations: 3.938 kB / 0.5911 GB, free: 15.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.004311/0.4112, allocations: 1.867 MB / 0.593 GB, free: 14.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/0.4115, allocations: 479.3 kB / 0.5934 GB, free: 13.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.4134, allocations: 1.13 MB / 0.5945 GB, free: 13.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.4135, allocations: 44.48 kB / 0.5946 GB, free: 13.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005917/0.4141, allocations: 0.6563 MB / 0.5952 GB, free: 12.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.4144, allocations: 239.7 kB / 0.5954 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.4147, allocations: 197.4 kB / 0.5956 GB, free: 12.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.4148, allocations: 343.2 kB / 0.596 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005393/0.4154, allocations: 299.8 kB / 0.5962 GB, free: 12.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.4164, allocations: 1.168 MB / 0.5974 GB, free: 10.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.4174, allocations: 0.9515 MB / 0.5983 GB, free: 10 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.4174, allocations: 3.844 kB / 0.5983 GB, free: 10 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001823/0.4193, allocations: 1.198 MB / 0.5995 GB, free: 9.402 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/0.4193, allocations: 67.94 kB / 0.5996 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.4193, allocations: 12.06 kB / 0.5996 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/0.4198, allocations: 166.2 kB / 0.5997 GB, free: 9.289 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.4202, allocations: 206.3 kB / 0.5999 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/0.4235, allocations: 3.652 MB / 0.6035 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.4245, allocations: 63.39 kB / 0.6035 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.4246, allocations: 50.84 kB / 0.6036 GB, free: 6.094 MB / 442.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.0005275/0.4251, allocations: 295.9 kB / 0.6039 GB, free: 5.867 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.4253, allocations: 132.5 kB / 0.604 GB, free: 5.797 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.4266, allocations: 0.7053 MB / 0.6047 GB, free: 5.473 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.4266, allocations: 6.906 kB / 0.6047 GB, free: 5.473 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4266, allocations: 0.6094 kB / 0.6047 GB, free: 5.473 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009575/0.4276, allocations: 0.9459 MB / 0.6056 GB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.4303, allocations: 1.611 MB / 0.6072 GB, free: 3.895 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.4304, allocations: 2.312 kB / 0.6072 GB, free: 3.895 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.4307, allocations: 112.4 kB / 0.6073 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003864/0.4311, allocations: 126.8 kB / 0.6074 GB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.4311, allocations: 14.77 kB / 0.6074 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/0.4339, allocations: 3.361 MB / 0.6107 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.4339, allocations: 6.281 kB / 0.6107 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.4357, allocations: 1.054 MB / 0.6118 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005305/0.4362, allocations: 181.8 kB / 0.6119 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.4363, allocations: 15.84 kB / 0.6119 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.4367, allocations: 39.62 kB / 0.612 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.4368, allocations: 64.64 kB / 0.612 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.4369, allocations: 21.34 kB / 0.6121 GB, free: 15.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001006/0.4379, allocations: 0.7474 MB / 0.6128 GB, free: 15.42 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4379, allocations: 1.281 kB / 0.6128 GB, free: 15.42 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001101/0.439, allocations: 305.1 kB / 0.6131 GB, free: 15.39 MB / 458.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.001904/0.4409, allocations: 1.636 MB / 0.6147 GB, free: 14.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.4429, allocations: 1.127 MB / 0.6158 GB, free: 13.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.443, allocations: 2.438 kB / 0.6158 GB, free: 13.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.4437, allocations: 0.535 MB / 0.6163 GB, free: 13.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.445, allocations: 328 kB / 0.6166 GB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.4592, allocations: 9.979 MB / 0.6264 GB, free: 4.281 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.4597, allocations: 0.4935 MB / 0.6269 GB, free: 3.754 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006969/0.4604, allocations: 141.8 kB / 0.627 GB, free: 3.613 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000537/0.4609, allocations: 471.3 kB / 0.6274 GB, free: 3.152 MB / 458.7 MB Notification: Performance of SimCode: time 1.363e-06/0.4609, allocations: 0 / 0.6274 GB, free: 3.152 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/0.6123, allocations: 31.69 MB / 0.6584 GB, free: 3.871 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.858/9.471, allocations: 0 / 0.6584 GB, free: 3.871 MB / 490.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.328376031015068]