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.00171/0.00171, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.002223/0.002223, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.481/1.481, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.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.001813/0.001813, allocations: 59.91 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1525, allocations: 53.33 MB / 427.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.2699/0.4224, allocations: 8.981 MB / 436.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005144/0.4276, allocations: 2.962 MB / 439.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.429, allocations: 57.09 kB / 439.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.4308, allocations: 0.6421 MB / 440.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002474/0.4333, allocations: 0.7613 MB / 440.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008197/0.4341, allocations: 335.2 kB / 441.2 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003178/0.4373, allocations: 2.382 MB / 443.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.4391, allocations: 1.288 MB / 444.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.4412, allocations: 1.1 MB / 446 MB, free: 2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.4434, allocations: 1.38 MB / 447.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005128/0.4439, allocations: 279.1 kB / 447.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.445, allocations: 384.7 kB / 448 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007744/0.4457, allocations: 0.8115 MB / 448.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.4472, allocations: 1.267 MB / 450.1 MB, free: 84 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005292/0.4525, allocations: 3.71 MB / 453.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4525, allocations: 0 / 453.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4525, allocations: 4 kB / 453.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001248/0.4526, allocations: 3.938 kB / 453.8 MB, free: 14.74 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.006756/0.4594, allocations: 2.658 MB / 456.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4594, allocations: 13.59 kB / 456.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.4607, allocations: 299.7 kB / 456.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.4634, allocations: 1.416 MB / 458.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.4636, allocations: 137.4 kB / 458.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003382/0.4639, allocations: 190.7 kB / 458.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004496/0.4684, allocations: 2.408 MB / 460.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.994e-05/0.4685, allocations: 1.656 kB / 460.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.4687, allocations: 76.69 kB / 461 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.914e-05/0.4688, allocations: 81.53 kB / 461.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003722/0.4725, allocations: 2.02 MB / 463.1 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.4855, allocations: 7.385 MB / 470.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.4875, allocations: 1.218 MB / 471.7 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.4892, allocations: 0.8546 MB / 472.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.4894, allocations: 128.2 kB / 472.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.4895, allocations: 43.62 kB / 472.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.495e-06/0.4895, allocations: 0 / 472.7 MB, free: 2.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01032/0.4998, allocations: 4.921 MB / 477.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.4999, allocations: 64.41 kB / 477.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.5021, allocations: 1.385 MB / 479.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.5022, allocations: 41.7 kB / 479.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007755/0.503, allocations: 0.9228 MB / 480.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.5033, allocations: 368.9 kB / 480.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.5037, allocations: 218.9 kB / 480.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.5039, allocations: 349.9 kB / 481 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.505, allocations: 0.6388 MB / 481.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.5062, allocations: 0.9259 MB / 482.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.5086, allocations: 1.645 MB / 484.2 MB, free: 7.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.5086, allocations: 7.984 kB / 484.2 MB, free: 7.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004528/0.5132, allocations: 2.372 MB / 486.6 MB, free: 4.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.5132, allocations: 8 kB / 486.6 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.5132, allocations: 15.98 kB / 486.6 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/0.5151, allocations: 0.7159 MB / 487.3 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008825/0.516, allocations: 231.6 kB / 487.5 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/0.5278, allocations: 8.736 MB / 496.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.5292, allocations: 87.8 kB / 496.4 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.5293, allocations: 48 kB / 496.4 MB, free: 10.53 MB / 398.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.00126/0.5306, allocations: 0.6302 MB / 497 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/0.5309, allocations: 147.1 kB / 497.2 MB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/0.5345, allocations: 1.898 MB / 499.1 MB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.5345, allocations: 12 kB / 499.1 MB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.5345, allocations: 9.188 kB / 499.1 MB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5345, allocations: 7.922 kB / 499.1 MB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007251/0.5417, allocations: 3.993 MB / 0.4913 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.5417, allocations: 4 kB / 0.4913 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008495/0.5426, allocations: 184 kB / 0.4915 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.5439, allocations: 464.2 kB / 0.4919 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.17e-05/0.544, allocations: 27.98 kB / 0.492 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007278/0.5513, allocations: 6.693 MB / 0.4985 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5513, allocations: 4.875 kB / 0.4985 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004793/0.5561, allocations: 2.772 MB / 0.5012 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008695/0.5569, allocations: 364 kB / 0.5015 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.5571, allocations: 31.98 kB / 0.5016 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008081/0.5579, allocations: 67.92 kB / 0.5016 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.5582, allocations: 76.83 kB / 0.5017 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.369e-05/0.5582, allocations: 31.98 kB / 0.5017 GB, free: 8.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.5598, allocations: 0.9625 MB / 0.5027 GB, free: 7.562 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5598, allocations: 0 / 0.5027 GB, free: 7.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001555/0.5614, allocations: 443.9 kB / 0.5031 GB, free: 7.129 MB / 414.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.0003894/0.5617, allocations: 177.1 kB / 0.5033 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003572/0.5653, allocations: 1.945 MB / 0.5052 GB, free: 4.977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5653, allocations: 0 / 0.5052 GB, free: 4.977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.5675, allocations: 1.298 MB / 0.5064 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.5695, allocations: 398.1 kB / 0.5068 GB, free: 3.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007894/0.5774, allocations: 4.115 MB / 0.5108 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.5789, allocations: 1.681 MB / 0.5125 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004898/0.5794, allocations: 103.4 kB / 0.5126 GB, free: 13.25 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5794, allocations: 0 / 0.5126 GB, free: 13.25 MB / 430.1 MB Notification: Performance of Templates: time 0.06539/0.6448, allocations: 53.28 MB / 0.5646 GB, free: 7.973 MB / 478.1 MB " [Timeout remaining time 659] 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 -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: 12.176054925017525]