Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 69.8 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 162.7 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 55.39 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08889/0.09048, allocations: 53.35 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01063/0.1011, allocations: 7.94 MB / 386.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005471/0.1066, allocations: 2.785 MB / 389.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006565/0.1072, allocations: 55.69 kB / 389.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.1087, allocations: 0.5978 MB / 390.3 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.1105, allocations: 0.7691 MB / 391.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006748/0.1112, allocations: 339.5 kB / 391.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002581/0.1138, allocations: 2.381 MB / 393.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.1152, allocations: 0.9775 MB / 394.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.1166, allocations: 1.098 MB / 395.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.1185, allocations: 1.315 MB / 397.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003833/0.1188, allocations: 276 kB / 397.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000687/0.1195, allocations: 375.8 kB / 397.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008834/0.1204, allocations: 0.8025 MB / 398.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.1216, allocations: 1.023 MB / 399.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003816/0.1254, allocations: 3.741 MB / 403.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1254, allocations: 0 / 403.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1254, allocations: 0 / 403.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.205e-05/0.1254, allocations: 0 / 403.4 MB, free: 7.012 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004908/0.1303, allocations: 2.579 MB / 406 MB, free: 4.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1304, allocations: 8.031 kB / 406 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009965/0.1314, allocations: 307.3 kB / 406.3 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002552/0.1339, allocations: 1.349 MB / 407.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.134, allocations: 139.9 kB / 407.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/0.1343, allocations: 195.8 kB / 407.9 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004027/0.1384, allocations: 2.498 MB / 410.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-05/0.1384, allocations: 7.922 kB / 410.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.1386, allocations: 76 kB / 410.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.786e-05/0.1387, allocations: 83.5 kB / 410.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00373/0.1424, allocations: 2.009 MB / 412.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.1535, allocations: 6.409 MB / 419 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.1554, allocations: 0.9849 MB / 420 MB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/0.1572, allocations: 0.8538 MB / 420.9 MB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.1574, allocations: 44.97 kB / 420.9 MB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1574, allocations: 43.5 kB / 420.9 MB, free: 5.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.716e-06/0.1574, allocations: 0 / 420.9 MB, free: 5.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009786/0.1672, allocations: 4.684 MB / 425.6 MB, free: 360 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.1672, allocations: 64.41 kB / 425.7 MB, free: 284 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.1691, allocations: 1.253 MB / 426.9 MB, free: 15.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/0.1692, allocations: 49.64 kB / 427 MB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007741/0.17, allocations: 0.9297 MB / 427.9 MB, free: 14.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/0.1703, allocations: 364.9 kB / 428.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003805/0.1707, allocations: 218.9 kB / 428.5 MB, free: 13.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1709, allocations: 353.9 kB / 428.8 MB, free: 13.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.172, allocations: 0.6272 MB / 429.5 MB, free: 12.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.1733, allocations: 0.9259 MB / 430.4 MB, free: 11.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.1759, allocations: 1.645 MB / 432 MB, free: 9.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.1759, allocations: 7.938 kB / 432 MB, free: 9.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004497/0.1804, allocations: 2.372 MB / 434.4 MB, free: 7.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1804, allocations: 8 kB / 434.4 MB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.1804, allocations: 8 kB / 434.4 MB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/0.1823, allocations: 0.7133 MB / 435.1 MB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/0.1832, allocations: 235.6 kB / 435.4 MB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.1952, allocations: 8.383 MB / 443.8 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.1962, allocations: 92.02 kB / 443.9 MB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.1964, allocations: 44 kB / 443.9 MB, free: 13.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (114): * Single equations (assignments): 112 * Array equations: 0 * 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,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001148/0.1975, allocations: 0.6377 MB / 444.5 MB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.1979, allocations: 143 kB / 444.7 MB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.2015, allocations: 1.885 MB / 446.6 MB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.2015, allocations: 8 kB / 446.6 MB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.2015, allocations: 4 kB / 446.6 MB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.2016, allocations: 3.984 kB / 446.6 MB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006951/0.2085, allocations: 3.526 MB / 450.1 MB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.2085, allocations: 8.031 kB / 450.1 MB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008495/0.2094, allocations: 179.7 kB / 450.3 MB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.2106, allocations: 462.9 kB / 450.7 MB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-05/0.2107, allocations: 31.97 kB / 450.8 MB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007249/0.218, allocations: 6.271 MB / 457 MB, free: 4 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.218, allocations: 0 / 457 MB, free: 4 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00472/0.2227, allocations: 2.76 MB / 459.8 MB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008282/0.2235, allocations: 275 kB / 460.1 MB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.2238, allocations: 24 kB / 460.1 MB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009027/0.2247, allocations: 71.92 kB / 460.2 MB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.225, allocations: 84.77 kB / 460.2 MB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.225, allocations: 31.94 kB / 460.3 MB, free: 12.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001522/0.2266, allocations: 0.8575 MB / 461.1 MB, free: 11.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2266, allocations: 0 / 461.1 MB, free: 11.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001542/0.2281, allocations: 431.9 kB / 461.5 MB, free: 11.43 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (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) * 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 (84): * Single equations (assignments): 80 * Array equations: 0 * 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,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003788/0.2285, allocations: 179.1 kB / 461.7 MB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003649/0.2321, allocations: 1.946 MB / 463.7 MB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2321, allocations: 0 / 463.7 MB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.2343, allocations: 1.229 MB / 464.9 MB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.236, allocations: 320.5 kB / 465.2 MB, free: 7.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/0.2429, allocations: 4.074 MB / 469.3 MB, free: 3.562 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.2444, allocations: 1.118 MB / 470.4 MB, free: 2.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008328/0.2452, allocations: 299 kB / 470.7 MB, free: 2.109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.2455, allocations: 100.4 kB / 470.8 MB, free: 2.012 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2455, allocations: 0 / 470.8 MB, free: 2.012 MB / 430.1 MB Notification: Performance of Templates: time 0.1954/0.4408, allocations: 23.14 MB / 493.9 MB, free: 76.23 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 5.342259403085336]