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.001401/0.001401, allocations: 114.2 kB / 20.43 MB, free: 4.594 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.001336/0.001336, allocations: 217.3 kB / 23.73 MB, free: 2.125 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 0.9991/0.9991, allocations: 230.6 MB / 257.4 MB, free: 9.508 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.1694/0.1694, allocations: 47.7 MB / 361.6 MB, free: 2.379 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.00135/0.00135, allocations: 104.1 kB / 0.4973 GB, free: 7.461 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1154, allocations: 66.22 MB / 0.562 GB, free: 5.105 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2206/0.336, allocations: 8.523 MB / 0.5703 GB, free: 11.01 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.3393, allocations: 2.94 MB / 0.5732 GB, free: 9.438 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004354/0.3397, allocations: 34.12 kB / 0.5732 GB, free: 9.426 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000976/0.3407, allocations: 0.5626 MB / 0.5737 GB, free: 9.156 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000684/0.3414, allocations: 0.5838 MB / 0.5743 GB, free: 8.734 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.3418, allocations: 319.9 kB / 0.5746 GB, free: 8.547 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.3428, allocations: 1.766 MB / 0.5763 GB, free: 7.617 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.3433, allocations: 423.5 kB / 0.5767 GB, free: 7.375 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006213/0.3439, allocations: 0.7026 MB / 0.5774 GB, free: 7.027 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005906/0.3445, allocations: 0.6452 MB / 0.5781 GB, free: 6.738 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.3446, allocations: 158.6 kB / 0.5782 GB, free: 6.738 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002621/0.3449, allocations: 195.9 kB / 0.5784 GB, free: 6.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.345, allocations: 336.2 kB / 0.5787 GB, free: 6.492 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.3455, allocations: 0.6581 MB / 0.5794 GB, free: 6.145 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.3471, allocations: 2.009 MB / 0.5813 GB, free: 5.363 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3471, allocations: 0 / 0.5813 GB, free: 5.363 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3471, allocations: 0 / 0.5813 GB, free: 5.363 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.3472, allocations: 4 kB / 0.5813 GB, free: 5.359 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.002055/0.3492, allocations: 1.756 MB / 0.583 GB, free: 4.227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3493, allocations: 10.41 kB / 0.583 GB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.3494, allocations: 163.9 kB / 0.5832 GB, free: 4.117 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.3498, allocations: 205.7 kB / 0.5834 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.3508, allocations: 0.7695 MB / 0.5842 GB, free: 3.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.3509, allocations: 167.1 kB / 0.5843 GB, free: 3.387 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.351, allocations: 116.4 kB / 0.5844 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.3526, allocations: 1.574 MB / 0.586 GB, free: 2.207 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.3526, allocations: 10.55 kB / 0.586 GB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.17e-05/0.3526, allocations: 48.2 kB / 0.586 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.3527, allocations: 30 kB / 0.586 GB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.3538, allocations: 0.7487 MB / 0.5868 GB, free: 1.902 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.003941/0.3578, allocations: 3.37 MB / 0.5901 GB, free: 15.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.3589, allocations: 0.5435 MB / 0.5906 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.3593, allocations: 245.7 kB / 0.5908 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.3593, allocations: 9.266 kB / 0.5908 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004952/0.3598, allocations: 317.4 kB / 0.5911 GB, free: 15.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=62): time 2.745e-06/0.3598, allocations: 0 / 0.5911 GB, free: 15.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.00314/0.363, allocations: 1.87 MB / 0.593 GB, free: 14.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.3632, allocations: 475.3 kB / 0.5934 GB, free: 13.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.3645, allocations: 1.127 MB / 0.5945 GB, free: 13.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.3645, allocations: 41.95 kB / 0.5946 GB, free: 13.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.3649, allocations: 0.6611 MB / 0.5952 GB, free: 12.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.365, allocations: 240.8 kB / 0.5954 GB, free: 12.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.3653, allocations: 196.5 kB / 0.5956 GB, free: 12.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3654, allocations: 343.5 kB / 0.596 GB, free: 12.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.3658, allocations: 307 kB / 0.5962 GB, free: 11.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007802/0.3665, allocations: 1.17 MB / 0.5974 GB, free: 10.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009642/0.3675, allocations: 0.9455 MB / 0.5983 GB, free: 9.977 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3675, allocations: 2.969 kB / 0.5983 GB, free: 9.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001544/0.3691, allocations: 1.202 MB / 0.5995 GB, free: 9.375 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.3691, allocations: 63.31 kB / 0.5995 GB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.3691, allocations: 11.84 kB / 0.5996 GB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004963/0.3696, allocations: 168.5 kB / 0.5997 GB, free: 9.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.37, allocations: 209.7 kB / 0.5999 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003717/0.3737, allocations: 3.637 MB / 0.6035 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009039/0.3747, allocations: 64.91 kB / 0.6035 GB, free: 6.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.3747, allocations: 47.53 kB / 0.6036 GB, free: 6.078 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.0004344/0.3752, allocations: 294 kB / 0.6039 GB, free: 5.852 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.3753, allocations: 133.5 kB / 0.604 GB, free: 5.781 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.3764, allocations: 0.7099 MB / 0.6047 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.3764, allocations: 11.5 kB / 0.6047 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3764, allocations: 0 / 0.6047 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/0.3775, allocations: 0.9507 MB / 0.6056 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.3797, allocations: 1.606 MB / 0.6072 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3797, allocations: 3.203 kB / 0.6072 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.38, allocations: 108.7 kB / 0.6073 GB, free: 3.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/0.3802, allocations: 126.2 kB / 0.6074 GB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.3803, allocations: 17.39 kB / 0.6074 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.3825, allocations: 3.366 MB / 0.6107 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3825, allocations: 2.344 kB / 0.6107 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.3837, allocations: 1.055 MB / 0.6118 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.3841, allocations: 182.7 kB / 0.6119 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.758e-05/0.3842, allocations: 14.75 kB / 0.6119 GB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.3845, allocations: 43.08 kB / 0.612 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.791e-05/0.3846, allocations: 57.5 kB / 0.612 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.3846, allocations: 22.33 kB / 0.6121 GB, free: 15.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007746/0.3854, allocations: 0.7433 MB / 0.6128 GB, free: 15.42 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3854, allocations: 0 / 0.6128 GB, free: 15.42 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008006/0.3862, allocations: 305.3 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.001661/0.3879, allocations: 1.643 MB / 0.6147 GB, free: 14.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.3891, allocations: 1.124 MB / 0.6158 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3891, allocations: 1.469 kB / 0.6158 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005361/0.3897, allocations: 0.5392 MB / 0.6163 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009833/0.3907, allocations: 334.5 kB / 0.6166 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.4008, allocations: 9.976 MB / 0.6264 GB, free: 4.289 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.4012, allocations: 0.4896 MB / 0.6268 GB, free: 3.766 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004935/0.4017, allocations: 145.8 kB / 0.627 GB, free: 3.621 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.4021, allocations: 475.3 kB / 0.6274 GB, free: 3.156 MB / 458.7 MB Notification: Performance of SimCode: time 7.82e-07/0.4021, allocations: 0 / 0.6274 GB, free: 3.156 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.5082, allocations: 31.68 MB / 0.6584 GB, free: 3.887 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.172/9.68, allocations: 0 / 0.6584 GB, free: 3.887 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.358719854615629]