Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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.001724/0.001724, allocations: 109.9 kB / 19.17 MB, free: 3.871 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.002072/0.002072, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.456/1.456, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 67.89 kB / 374.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09252, allocations: 53.32 MB / 427.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.1918/0.2844, allocations: 8.98 MB / 436.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004899/0.2893, allocations: 2.959 MB / 439.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.2906, allocations: 48.91 kB / 439.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.2924, allocations: 0.6389 MB / 440.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.2949, allocations: 0.7687 MB / 441.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.2961, allocations: 332 kB / 441.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.2994, allocations: 2.373 MB / 443.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.3011, allocations: 1.289 MB / 445.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.303, allocations: 1.082 MB / 446.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.3054, allocations: 1.381 MB / 447.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005961/0.306, allocations: 279.9 kB / 448 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.3072, allocations: 385.7 kB / 448.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009285/0.3081, allocations: 0.8013 MB / 449.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.3101, allocations: 1.27 MB / 450.4 MB, free: 364 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005457/0.3156, allocations: 3.715 MB / 454.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3156, allocations: 0 / 454.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3156, allocations: 1.375 kB / 454.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001047/0.3157, allocations: 0 / 454.1 MB, free: 15.03 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.00696/0.3226, allocations: 2.65 MB / 456.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3227, allocations: 9.469 kB / 456.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3239, allocations: 304.4 kB / 457.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.327, allocations: 1.421 MB / 458.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.3271, allocations: 141.4 kB / 458.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00046/0.3276, allocations: 186.9 kB / 458.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/0.3327, allocations: 2.407 MB / 461.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.594e-05/0.3328, allocations: 6.406 kB / 461.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.333, allocations: 74.73 kB / 461.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.3331, allocations: 88.45 kB / 461.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003924/0.337, allocations: 2.017 MB / 463.4 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.3503, allocations: 7.393 MB / 470.8 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.3522, allocations: 1.213 MB / 472 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.3539, allocations: 0.8592 MB / 472.9 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.3541, allocations: 120.1 kB / 473 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3542, allocations: 42.59 kB / 473 MB, free: 2.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.895e-06/0.3542, allocations: 1.25 kB / 473 MB, free: 2.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.01037/0.3646, allocations: 4.923 MB / 478 MB, free: 14.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.3646, allocations: 64.41 kB / 478 MB, free: 14.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.3669, allocations: 1.385 MB / 479.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.367, allocations: 49.64 kB / 479.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007578/0.3678, allocations: 0.9266 MB / 480.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/0.3681, allocations: 364.9 kB / 480.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.3685, allocations: 218.9 kB / 481 MB, free: 11.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3687, allocations: 349.9 kB / 481.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.3698, allocations: 0.6311 MB / 481.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.371, allocations: 0.9259 MB / 482.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/0.3735, allocations: 1.649 MB / 484.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3735, allocations: 4 kB / 484.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004629/0.3781, allocations: 2.379 MB / 486.9 MB, free: 4.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.3781, allocations: 8 kB / 486.9 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.3782, allocations: 12.25 kB / 486.9 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.3802, allocations: 0.7117 MB / 487.6 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009673/0.3811, allocations: 240 kB / 487.9 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.393, allocations: 8.721 MB / 496.6 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.3943, allocations: 95.89 kB / 496.7 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.3944, allocations: 44 kB / 496.7 MB, free: 10.89 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.001198/0.3956, allocations: 0.6301 MB / 497.3 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.3959, allocations: 148.1 kB / 497.5 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.3996, allocations: 1.897 MB / 499.4 MB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.3996, allocations: 16 kB / 499.4 MB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.3996, allocations: 4 kB / 499.4 MB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3996, allocations: 3.984 kB / 499.4 MB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00742/0.407, allocations: 4.008 MB / 0.4916 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.407, allocations: 0 / 0.4916 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/0.4079, allocations: 183.8 kB / 0.4918 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.4092, allocations: 459 kB / 0.4922 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-05/0.4093, allocations: 27.98 kB / 0.4923 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007291/0.4166, allocations: 6.685 MB / 0.4988 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.4166, allocations: 3.938 kB / 0.4988 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004816/0.4214, allocations: 2.784 MB / 0.5015 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008921/0.4223, allocations: 368 kB / 0.5019 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.4226, allocations: 28 kB / 0.5019 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000807/0.4234, allocations: 63.92 kB / 0.502 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.4236, allocations: 84.81 kB / 0.502 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/0.4237, allocations: 31.98 kB / 0.5021 GB, free: 8.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001582/0.4253, allocations: 0.9586 MB / 0.503 GB, free: 7.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4253, allocations: 3.938 kB / 0.503 GB, free: 7.906 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001731/0.427, allocations: 439.9 kB / 0.5034 GB, free: 7.477 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.0004043/0.4274, allocations: 181.9 kB / 0.5036 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003514/0.4309, allocations: 1.946 MB / 0.5055 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4309, allocations: 4 kB / 0.5055 GB, free: 5.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002222/0.4331, allocations: 1.305 MB / 0.5068 GB, free: 3.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.4352, allocations: 388.2 kB / 0.5071 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007267/0.4425, allocations: 4.119 MB / 0.5112 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.444, allocations: 1.673 MB / 0.5128 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005395/0.4446, allocations: 107.4 kB / 0.5129 GB, free: 13.6 MB / 430.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4446, allocations: 0 / 0.5129 GB, free: 13.6 MB / 430.1 MB Notification: Performance of Templates: time 0.06846/0.513, allocations: 53.28 MB / 0.5649 GB, free: 8.305 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.624498374992982]