Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.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.001759/0.001759, allocations: 79.66 kB / 21.24 MB, free: 0.543 MB / 14.72 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.002089/0.002089, allocations: 161.3 kB / 24.5 MB, free: 3.719 MB / 14.72 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.532/1.532, allocations: 177.1 MB / 204.7 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 58.45 kB / 325.6 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1083, allocations: 53.38 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01196/0.1203, allocations: 8.626 MB / 387.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007263/0.1275, allocations: 3.553 MB / 391.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.1292, allocations: 59.62 kB / 391.2 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.1311, allocations: 0.6599 MB / 391.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002481/0.1336, allocations: 0.9206 MB / 392.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1347, allocations: 483 kB / 393.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003183/0.1379, allocations: 2.666 MB / 395.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.1394, allocations: 1.081 MB / 397 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.1411, allocations: 1.23 MB / 398.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.1432, allocations: 1.459 MB / 399.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004424/0.1436, allocations: 308 kB / 400 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.1446, allocations: 0.5503 MB / 400.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.1457, allocations: 1.044 MB / 401.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.147, allocations: 1.194 MB / 402.8 MB, free: 7.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004655/0.1517, allocations: 4.343 MB / 407.1 MB, free: 3.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.1517, allocations: 4 kB / 407.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1517, allocations: 0 / 407.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.056e-05/0.1518, allocations: 0 / 407.1 MB, free: 3.125 MB / 366.1 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.006609/0.1584, allocations: 3.189 MB / 410.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1584, allocations: 11.98 kB / 410.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.1596, allocations: 374.9 kB / 410.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.1629, allocations: 1.666 MB / 412.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.163, allocations: 152.4 kB / 412.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/0.1634, allocations: 215.9 kB / 412.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004953/0.1683, allocations: 2.791 MB / 415.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.393e-05/0.1684, allocations: 7.953 kB / 415.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.1686, allocations: 80 kB / 415.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.1687, allocations: 95.92 kB / 415.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004471/0.1732, allocations: 2.283 MB / 418 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.1864, allocations: 7.055 MB / 425 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.1894, allocations: 1.326 MB / 426.3 MB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.1915, allocations: 1.019 MB / 427.4 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.1917, allocations: 48.89 kB / 427.4 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.1918, allocations: 51.55 kB / 427.5 MB, free: 14.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.427e-06/0.1918, allocations: 0 / 427.5 MB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=132): time 0.01406/0.2059, allocations: 6.087 MB / 433.5 MB, free: 8.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.2059, allocations: 64.72 kB / 433.6 MB, free: 8.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/0.209, allocations: 2.039 MB / 435.6 MB, free: 6.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.2091, allocations: 45.7 kB / 435.7 MB, free: 6.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009561/0.2101, allocations: 1.152 MB / 436.8 MB, free: 4.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004507/0.2105, allocations: 479.8 kB / 437.3 MB, free: 4.449 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/0.211, allocations: 243.5 kB / 437.5 MB, free: 4.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2112, allocations: 365.9 kB / 437.9 MB, free: 3.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.2126, allocations: 0.7535 MB / 438.7 MB, free: 3.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.2142, allocations: 1.017 MB / 439.7 MB, free: 1.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.2173, allocations: 1.857 MB / 441.5 MB, free: 36 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.2173, allocations: 4 kB / 441.5 MB, free: 32 kB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005595/0.2229, allocations: 2.742 MB / 444.3 MB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.223, allocations: 8 kB / 444.3 MB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.223, allocations: 4 kB / 444.3 MB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/0.2251, allocations: 0.7892 MB / 445.1 MB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.2263, allocations: 271.5 kB / 445.3 MB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/0.24, allocations: 9.225 MB / 454.6 MB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.2416, allocations: 95.95 kB / 454.7 MB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.2419, allocations: 55.97 kB / 454.7 MB, free: 2.617 MB / 414.1 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.001696/0.2436, allocations: 0.7395 MB / 455.5 MB, free: 1.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006155/0.2442, allocations: 194.7 kB / 455.6 MB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/0.2494, allocations: 2.468 MB / 458.1 MB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/0.2494, allocations: 16 kB / 458.1 MB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/0.2494, allocations: 4 kB / 458.1 MB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.2494, allocations: 11.91 kB / 458.1 MB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009496/0.2589, allocations: 4.389 MB / 462.5 MB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.2589, allocations: 0 / 462.5 MB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.26, allocations: 215.9 kB / 462.7 MB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/0.2618, allocations: 0.658 MB / 463.4 MB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.2619, allocations: 35.97 kB / 463.4 MB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.2722, allocations: 8.256 MB / 471.7 MB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.2722, allocations: 4.031 kB / 471.7 MB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2113/0.4834, allocations: 3.509 MB / 475.2 MB, free: 82.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.4845, allocations: 359 kB / 475.6 MB, free: 82.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.4847, allocations: 30.81 kB / 475.6 MB, free: 82.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009333/0.4856, allocations: 87.2 kB / 475.7 MB, free: 82.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.4859, allocations: 110.8 kB / 475.8 MB, free: 82.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.572e-05/0.486, allocations: 38.88 kB / 475.8 MB, free: 82.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001832/0.4878, allocations: 1.422 MB / 477.2 MB, free: 82.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4878, allocations: 1.281 kB / 477.2 MB, free: 82.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001844/0.4897, allocations: 0.5188 MB / 477.8 MB, free: 82.54 MB / 430.1 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.001662/0.4913, allocations: 480.5 kB / 478.2 MB, free: 82.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004177/0.4955, allocations: 2.304 MB / 480.5 MB, free: 81.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.4955, allocations: 1.062 kB / 480.5 MB, free: 81.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002336/0.4979, allocations: 1.464 MB / 482 MB, free: 81.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.4998, allocations: 394.4 kB / 482.4 MB, free: 80.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007771/0.5075, allocations: 5.207 MB / 487.6 MB, free: 78.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.5088, allocations: 1.391 MB / 489 MB, free: 78.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001026/0.5099, allocations: 373.4 kB / 489.3 MB, free: 78.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/0.5102, allocations: 128.2 kB / 489.5 MB, free: 78.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5102, allocations: 0 / 489.5 MB, free: 78.07 MB / 430.1 MB Notification: Performance of Templates: time 0.03995/0.5502, allocations: 29.61 MB / 0.5069 GB, free: 52.07 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.538469674997032]