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.001496/0.001496, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.00166/0.00166, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.574/1.574, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001634/0.001634, allocations: 47.92 kB / 373.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1269, allocations: 53.33 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.2068/0.3337, allocations: 8.991 MB / 435.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006407/0.3401, allocations: 2.957 MB / 438.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.3417, allocations: 56.47 kB / 438.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.3435, allocations: 0.6395 MB / 439.5 MB, free: 5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.3466, allocations: 0.7649 MB / 440.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009252/0.3475, allocations: 334.6 kB / 440.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003213/0.3508, allocations: 2.38 MB / 442.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.3526, allocations: 1.293 MB / 444.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.3548, allocations: 1.091 MB / 445.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.3575, allocations: 1.388 MB / 446.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005291/0.358, allocations: 278.7 kB / 447 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.3591, allocations: 384.9 kB / 447.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008922/0.36, allocations: 0.8069 MB / 448.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001565/0.3616, allocations: 1.27 MB / 449.4 MB, free: 88 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006047/0.3676, allocations: 3.709 MB / 453.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3676, allocations: 2.312 kB / 453.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3676, allocations: 0 / 453.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001217/0.3678, allocations: 0 / 453.1 MB, free: 14.76 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.00711/0.3749, allocations: 2.661 MB / 455.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3749, allocations: 10.19 kB / 455.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.3761, allocations: 303.2 kB / 456.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.379, allocations: 1.409 MB / 457.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.3792, allocations: 141.8 kB / 457.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003209/0.3795, allocations: 190.6 kB / 457.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005259/0.3848, allocations: 2.403 MB / 460.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.072e-05/0.3848, allocations: 4.562 kB / 460.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.385, allocations: 77.39 kB / 460.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.3852, allocations: 89 kB / 460.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003898/0.3891, allocations: 2.02 MB / 462.4 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/0.4038, allocations: 7.386 MB / 469.8 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.4059, allocations: 1.212 MB / 471 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.4077, allocations: 0.8557 MB / 471.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.408, allocations: 128.3 kB / 472 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.408, allocations: 46.25 kB / 472 MB, free: 2.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.216e-06/0.408, allocations: 1.375 kB / 472.1 MB, free: 2.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01123/0.4193, allocations: 4.917 MB / 477 MB, free: 13.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.4193, allocations: 60.41 kB / 477 MB, free: 13.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.4218, allocations: 1.393 MB / 478.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.4219, allocations: 45.64 kB / 478.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007864/0.4227, allocations: 0.9267 MB / 479.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.4231, allocations: 364.9 kB / 479.7 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003959/0.4235, allocations: 214.9 kB / 480 MB, free: 10.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.4237, allocations: 349.9 kB / 480.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.4248, allocations: 0.6311 MB / 480.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.4263, allocations: 0.9298 MB / 481.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002572/0.4288, allocations: 1.653 MB / 483.5 MB, free: 7.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4288, allocations: 0 / 483.5 MB, free: 7.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004817/0.4337, allocations: 2.372 MB / 485.9 MB, free: 4.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4337, allocations: 16.05 kB / 485.9 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.4337, allocations: 8 kB / 485.9 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.4358, allocations: 0.7156 MB / 486.6 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009477/0.4367, allocations: 231.7 kB / 486.8 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.4492, allocations: 8.745 MB / 495.6 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.4506, allocations: 83.8 kB / 495.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.4507, allocations: 48 kB / 495.7 MB, free: 10.55 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.00118/0.4519, allocations: 0.6262 MB / 496.3 MB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/0.4522, allocations: 151.1 kB / 496.5 MB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.4559, allocations: 1.905 MB / 498.4 MB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.4559, allocations: 8 kB / 498.4 MB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4559, allocations: 7.891 kB / 498.4 MB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.4559, allocations: 3.984 kB / 498.4 MB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008016/0.464, allocations: 3.997 MB / 0.4906 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.464, allocations: 3.984 kB / 0.4906 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008665/0.4648, allocations: 175.8 kB / 0.4908 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.4662, allocations: 463.1 kB / 0.4913 GB, free: 3.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-05/0.4663, allocations: 31.98 kB / 0.4913 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0077/0.474, allocations: 6.688 MB / 0.4978 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.474, allocations: 4.031 kB / 0.4978 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/0.4792, allocations: 2.772 MB / 0.5005 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009075/0.4801, allocations: 372 kB / 0.5009 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.4803, allocations: 27.98 kB / 0.5009 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/0.4812, allocations: 63.92 kB / 0.501 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/0.4814, allocations: 80.83 kB / 0.501 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.68e-05/0.4815, allocations: 31.98 kB / 0.5011 GB, free: 8.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001696/0.4832, allocations: 0.9625 MB / 0.502 GB, free: 7.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4832, allocations: 4 kB / 0.502 GB, free: 7.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001596/0.4848, allocations: 435.9 kB / 0.5024 GB, free: 7.148 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.000401/0.4852, allocations: 183 kB / 0.5026 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003794/0.489, allocations: 1.942 MB / 0.5045 GB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.489, allocations: 8.188 kB / 0.5045 GB, free: 4.988 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002276/0.4912, allocations: 1.297 MB / 0.5058 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.4931, allocations: 390.8 kB / 0.5062 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007311/0.5005, allocations: 4.085 MB / 0.5101 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.5022, allocations: 1.693 MB / 0.5118 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001041/0.5032, allocations: 320 kB / 0.5121 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.5035, allocations: 95.42 kB / 0.5122 GB, free: 12.98 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5035, allocations: 0 / 0.5122 GB, free: 12.98 MB / 430.1 MB Notification: Performance of Templates: time 0.04758/0.5511, allocations: 24.82 MB / 0.5364 GB, free: 4.371 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/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.731070343405008]