Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.0008439/0.0008439, allocations: 114.7 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.0008318/0.0008318, allocations: 221.3 kB / 23.73 MB, free: 2.133 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.046/1.046, allocations: 230.6 MB / 257.4 MB, free: 9.504 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.1667/0.1667, allocations: 47.71 MB / 361.6 MB, free: 2.352 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.InductionMachines.IMC_withLosses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 95.83 kB / 0.4973 GB, free: 7.414 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1326, allocations: 66.21 MB / 0.562 GB, free: 5.066 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.254/0.3865, allocations: 8.719 MB / 0.5705 GB, free: 10.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005096/0.3916, allocations: 3.547 MB / 0.574 GB, free: 8.879 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006606/0.3923, allocations: 64.09 kB / 0.574 GB, free: 8.852 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.3937, allocations: 0.6609 MB / 0.5747 GB, free: 8.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.3954, allocations: 0.9249 MB / 0.5756 GB, free: 7.949 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008097/0.3962, allocations: 483.8 kB / 0.576 GB, free: 7.668 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002229/0.3984, allocations: 2.674 MB / 0.5786 GB, free: 6.336 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.3995, allocations: 1.08 MB / 0.5797 GB, free: 5.758 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.4006, allocations: 1.229 MB / 0.5809 GB, free: 5.176 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.4022, allocations: 1.46 MB / 0.5823 GB, free: 4.566 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000342/0.4025, allocations: 305.1 kB / 0.5826 GB, free: 4.566 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.4035, allocations: 0.5557 MB / 0.5832 GB, free: 4.488 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008301/0.4043, allocations: 1.044 MB / 0.5842 GB, free: 3.961 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008653/0.4052, allocations: 1.203 MB / 0.5854 GB, free: 3.266 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.4094, allocations: 4.339 MB / 0.5896 GB, free: 1.703 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4094, allocations: 0 / 0.5896 GB, free: 1.703 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4094, allocations: 0 / 0.5896 GB, free: 1.703 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.149e-05/0.4095, allocations: 1.094 kB / 0.5896 GB, free: 1.703 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004515/0.414, allocations: 3.201 MB / 0.5927 GB, free: 15.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.414, allocations: 9.625 kB / 0.5927 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004224/0.4145, allocations: 351.9 kB / 0.5931 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/0.4152, allocations: 381.2 kB / 0.5934 GB, free: 15.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.4174, allocations: 1.669 MB / 0.5951 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.4175, allocations: 157.8 kB / 0.5952 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/0.4178, allocations: 209.7 kB / 0.5954 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/0.4216, allocations: 2.837 MB / 0.5982 GB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.4217, allocations: 7.844 kB / 0.5982 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.4218, allocations: 89.27 kB / 0.5983 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.4219, allocations: 99.31 kB / 0.5984 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.4251, allocations: 2.282 MB / 0.6006 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009327/0.4344, allocations: 7.43 MB / 0.6079 GB, free: 6.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.4365, allocations: 1.316 MB / 0.6091 GB, free: 5.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.4379, allocations: 1.03 MB / 0.6101 GB, free: 5.102 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.4381, allocations: 49.16 kB / 0.6102 GB, free: 5.082 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.4381, allocations: 51.36 kB / 0.6102 GB, free: 5.031 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 2.976e-06/0.4381, allocations: 0 / 0.6102 GB, free: 5.031 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.009001/0.4471, allocations: 6.102 MB / 0.6162 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.4471, allocations: 68.66 kB / 0.6163 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.4493, allocations: 2.197 MB / 0.6184 GB, free: 14.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/0.4494, allocations: 49.69 kB / 0.6185 GB, free: 14.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.45, allocations: 1.149 MB / 0.6196 GB, free: 13.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.4503, allocations: 483.9 kB / 0.62 GB, free: 12.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.4505, allocations: 243.5 kB / 0.6203 GB, free: 12.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4507, allocations: 361.9 kB / 0.6206 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.4518, allocations: 0.7613 MB / 0.6214 GB, free: 11.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009686/0.4528, allocations: 1.013 MB / 0.6223 GB, free: 10.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.4547, allocations: 1.858 MB / 0.6242 GB, free: 8.312 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4547, allocations: 4 kB / 0.6242 GB, free: 8.309 MB / 458.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003147/0.4578, allocations: 2.754 MB / 0.6269 GB, free: 5.535 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.4578, allocations: 8 kB / 0.6269 GB, free: 5.527 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.4579, allocations: 8 kB / 0.6269 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.4591, allocations: 0.7736 MB / 0.6276 GB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009604/0.46, allocations: 279.4 kB / 0.6279 GB, free: 4.473 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008257/0.4683, allocations: 9.292 MB / 0.637 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009661/0.4693, allocations: 87.86 kB / 0.6371 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.4694, allocations: 55.98 kB / 0.6371 GB, free: 10.81 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * 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): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001341/0.4707, allocations: 0.7478 MB / 0.6378 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.471, allocations: 214.6 kB / 0.638 GB, free: 9.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/0.4738, allocations: 2.485 MB / 0.6405 GB, free: 7.336 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.4738, allocations: 15.98 kB / 0.6405 GB, free: 7.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.4739, allocations: 8 kB / 0.6405 GB, free: 7.312 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.4739, allocations: 7.984 kB / 0.6405 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005384/0.4793, allocations: 4.65 MB / 0.645 GB, free: 2.574 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.4793, allocations: 7.938 kB / 0.645 GB, free: 2.566 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.4798, allocations: 211.7 kB / 0.6452 GB, free: 2.359 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009562/0.4807, allocations: 0.6472 MB / 0.6459 GB, free: 1.699 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/0.4808, allocations: 31.98 kB / 0.6459 GB, free: 1.668 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00602/0.4868, allocations: 8.348 MB / 0.6541 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4868, allocations: 0 / 0.6541 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/0.4907, allocations: 3.529 MB / 0.6575 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/0.4913, allocations: 378.5 kB / 0.6579 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.4914, allocations: 27.98 kB / 0.6579 GB, free: 5.004 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/0.4919, allocations: 84.16 kB / 0.658 GB, free: 4.922 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.4921, allocations: 120.7 kB / 0.6581 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.784e-05/0.4922, allocations: 39.98 kB / 0.6581 GB, free: 4.766 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00153/0.4937, allocations: 1.54 MB / 0.6596 GB, free: 3.203 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4937, allocations: 0 / 0.6596 GB, free: 3.203 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001361/0.4951, allocations: 0.5235 MB / 0.6601 GB, free: 2.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00481/0.4999, allocations: 4.475 MB / 0.6645 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002852/0.5028, allocations: 2.302 MB / 0.6668 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5028, allocations: 4 kB / 0.6668 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.5044, allocations: 1.46 MB / 0.6682 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.5057, allocations: 462.8 kB / 0.6686 GB, free: 10 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02289/0.5286, allocations: 21.17 MB / 0.6893 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.5298, allocations: 1.393 MB / 0.6907 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008455/0.5306, allocations: 395.7 kB / 0.691 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008522/0.5315, allocations: 0.9913 MB / 0.692 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of SimCode: time 2.034e-06/0.5315, allocations: 0 / 0.692 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/0.6892, allocations: 54.91 MB / 0.7456 GB, free: 10.96 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/9.097, allocations: 11.92 kB / 0.7457 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=4.6 --stepSize=0.000100002 --timeout=50 --tolerance=1e-06 ../ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_InductionMachines_IMC_withLosses.fmu) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy_res.csv --start-time 0 --stop-time 4.6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000100002 ../ModelicaTest_trunk_ModelicaTest_Electrical_Machines_Examples_InductionMachines_IMC_withLosses.fmu) > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.316367383114994]