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.001241/0.001241, allocations: 108 kB / 20.43 MB, free: 4.574 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.001394/0.001394, allocations: 217.3 kB / 23.73 MB, free: 2.121 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.9961/0.9961, 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.153/0.153, allocations: 47.7 MB / 361.6 MB, free: 2.355 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.001268/0.001268, allocations: 99.78 kB / 0.4973 GB, free: 7.418 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1347, allocations: 66.22 MB / 0.562 GB, free: 5.062 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.2723/0.4069, allocations: 8.706 MB / 0.5705 GB, free: 10.38 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004302/0.4112, allocations: 3.548 MB / 0.574 GB, free: 8.738 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006267/0.4119, allocations: 65.16 kB / 0.574 GB, free: 8.711 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.4131, allocations: 0.6616 MB / 0.5747 GB, free: 8.379 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.4145, allocations: 0.9258 MB / 0.5756 GB, free: 7.809 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007031/0.4152, allocations: 481.3 kB / 0.576 GB, free: 7.531 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.4172, allocations: 2.676 MB / 0.5786 GB, free: 6.195 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009763/0.4181, allocations: 1.078 MB / 0.5797 GB, free: 5.621 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.4192, allocations: 1.229 MB / 0.5809 GB, free: 5.039 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.4206, allocations: 1.463 MB / 0.5823 GB, free: 4.426 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000306/0.4209, allocations: 304.6 kB / 0.5826 GB, free: 4.426 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.4232, allocations: 0.5598 MB / 0.5832 GB, free: 4.344 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.4247, allocations: 1.04 MB / 0.5842 GB, free: 3.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002665/0.4274, allocations: 1.204 MB / 0.5853 GB, free: 3.125 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005447/0.4328, allocations: 4.343 MB / 0.5896 GB, free: 1.559 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4328, allocations: 0 / 0.5896 GB, free: 1.559 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4328, allocations: 1.062 kB / 0.5896 GB, free: 1.559 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001676/0.433, allocations: 0 / 0.5896 GB, free: 1.559 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.007062/0.4401, allocations: 3.19 MB / 0.5927 GB, free: 15.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4401, allocations: 13.56 kB / 0.5927 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005485/0.4407, allocations: 353.2 kB / 0.5931 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009696/0.4416, allocations: 378.3 kB / 0.5934 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/0.4445, allocations: 1.675 MB / 0.5951 GB, free: 14.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.4447, allocations: 151.2 kB / 0.5952 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/0.4449, allocations: 218.5 kB / 0.5954 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/0.4489, allocations: 2.829 MB / 0.5982 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.886e-05/0.4489, allocations: 7.297 kB / 0.5982 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.4491, allocations: 84.91 kB / 0.5983 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.4492, allocations: 99.62 kB / 0.5984 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00336/0.4525, allocations: 2.289 MB / 0.6006 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.4657, allocations: 7.431 MB / 0.6078 GB, free: 6.148 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.4679, allocations: 1.326 MB / 0.6091 GB, free: 5.453 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.4696, allocations: 1.017 MB / 0.6101 GB, free: 4.977 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.4698, allocations: 43.75 kB / 0.6102 GB, free: 4.965 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.4699, allocations: 45.28 kB / 0.6102 GB, free: 4.918 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 3.857e-06/0.4699, allocations: 4 kB / 0.6102 GB, free: 4.914 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.01028/0.4801, allocations: 6.109 MB / 0.6162 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.4802, allocations: 68.72 kB / 0.6163 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/0.483, allocations: 2.197 MB / 0.6184 GB, free: 14.31 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.4832, allocations: 49.7 kB / 0.6184 GB, free: 14.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000618/0.4838, allocations: 1.153 MB / 0.6196 GB, free: 13.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/0.4842, allocations: 479.9 kB / 0.62 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.4845, allocations: 239.6 kB / 0.6203 GB, free: 12.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4846, allocations: 365.9 kB / 0.6206 GB, free: 12.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009414/0.4855, allocations: 0.7608 MB / 0.6213 GB, free: 11.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.4865, allocations: 1.013 MB / 0.6223 GB, free: 10.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.4885, allocations: 1.865 MB / 0.6242 GB, free: 8.199 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.4885, allocations: 0 / 0.6242 GB, free: 8.199 MB / 458.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004164/0.4927, allocations: 2.75 MB / 0.6268 GB, free: 5.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.4927, allocations: 8.25 kB / 0.6269 GB, free: 5.422 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.4928, allocations: 15.94 kB / 0.6269 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.4945, allocations: 0.7772 MB / 0.6276 GB, free: 4.625 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008701/0.4953, allocations: 271.5 kB / 0.6279 GB, free: 4.359 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.5054, allocations: 9.292 MB / 0.637 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.507, allocations: 99.83 kB / 0.6371 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.5071, allocations: 47.98 kB / 0.6371 GB, free: 10.7 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.001415/0.5085, allocations: 0.7511 MB / 0.6378 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/0.509, allocations: 214.6 kB / 0.638 GB, free: 9.723 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.5127, allocations: 2.481 MB / 0.6405 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.5127, allocations: 12 kB / 0.6405 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.5127, allocations: 8 kB / 0.6405 GB, free: 7.199 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.5128, allocations: 7.969 kB / 0.6405 GB, free: 7.191 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007939/0.5207, allocations: 4.642 MB / 0.645 GB, free: 2.469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.5207, allocations: 4 kB / 0.645 GB, free: 2.465 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.5214, allocations: 215.9 kB / 0.6452 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.5228, allocations: 0.6508 MB / 0.6459 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.5229, allocations: 39.95 kB / 0.6459 GB, free: 1.555 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007853/0.5308, allocations: 8.348 MB / 0.6541 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5308, allocations: 0 / 0.6541 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005447/0.5362, allocations: 3.537 MB / 0.6575 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.5373, allocations: 374.4 kB / 0.6579 GB, free: 4.918 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.5376, allocations: 31.98 kB / 0.6579 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007195/0.5383, allocations: 79.91 kB / 0.658 GB, free: 4.809 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.5386, allocations: 120.6 kB / 0.6581 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.26e-05/0.5387, allocations: 39.98 kB / 0.6581 GB, free: 4.652 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002212/0.5409, allocations: 1.54 MB / 0.6596 GB, free: 3.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5409, allocations: 0 / 0.6596 GB, free: 3.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002163/0.543, allocations: 0.5235 MB / 0.6601 GB, free: 2.566 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.006219/0.5492, allocations: 4.475 MB / 0.6645 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003715/0.553, allocations: 2.302 MB / 0.6668 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.553, allocations: 4 kB / 0.6668 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.5547, allocations: 1.464 MB / 0.6682 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.5567, allocations: 469.6 kB / 0.6686 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02843/0.5851, allocations: 21.16 MB / 0.6893 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.5863, allocations: 1.4 MB / 0.6907 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009723/0.5873, allocations: 403.7 kB / 0.6911 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009512/0.5883, allocations: 0.9874 MB / 0.692 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/0.5883, allocations: 0 / 0.692 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/0.7251, allocations: 54.9 MB / 0.7456 GB, free: 10.84 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.552/9.277, allocations: 7.156 kB / 0.7456 GB, free: 10.84 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.259049211628735]