Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.001554/0.001554, allocations: 109.1 kB / 21.18 MB, free: 0.7773 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.001935/0.001935, allocations: 210.1 kB / 24.49 MB, free: 4.164 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.465/1.465, allocations: 230.5 MB / 258.1 MB, free: 8.035 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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 67.88 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2594, allocations: 53.41 MB / 432.5 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.0125/0.2719, allocations: 9.525 MB / 442 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007326/0.2792, allocations: 3.067 MB / 445 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.2807, allocations: 63.56 kB / 445.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.2827, allocations: 0.6714 MB / 445.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.2856, allocations: 0.8273 MB / 446.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.2867, allocations: 359.5 kB / 447 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004151/0.2909, allocations: 2.689 MB / 449.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/0.2933, allocations: 1.164 MB / 450.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.2956, allocations: 1.23 MB / 452 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/0.2986, allocations: 1.541 MB / 453.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008942/0.2995, allocations: 308 kB / 453.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.3009, allocations: 415.8 kB / 454.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.3024, allocations: 0.8921 MB / 455.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002789/0.3052, allocations: 1.415 MB / 456.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006496/0.3117, allocations: 4.114 MB / 460.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3117, allocations: 0 / 460.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3117, allocations: 7.938 kB / 460.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001589/0.3119, allocations: 0 / 460.7 MB, free: 10.36 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.007688/0.3196, allocations: 2.853 MB / 463.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3196, allocations: 11.97 kB / 463.6 MB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.3207, allocations: 331.1 kB / 463.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003319/0.3241, allocations: 1.492 MB / 465.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.3242, allocations: 156.4 kB / 465.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/0.3246, allocations: 207.9 kB / 465.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004752/0.3293, allocations: 2.732 MB / 468.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.566e-05/0.3294, allocations: 11.95 kB / 468.5 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.3296, allocations: 80 kB / 468.6 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.3297, allocations: 99.91 kB / 468.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004146/0.3339, allocations: 2.323 MB / 471 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.3481, allocations: 8.196 MB / 479.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.3501, allocations: 1.254 MB / 480.4 MB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.352, allocations: 1.011 MB / 481.5 MB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.3523, allocations: 48.95 kB / 481.5 MB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.3523, allocations: 51.56 kB / 481.6 MB, free: 5.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.376e-06/0.3523, allocations: 0 / 481.6 MB, free: 5.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01356/0.3659, allocations: 5.935 MB / 487.5 MB, free: 15.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3659, allocations: 64.39 kB / 487.6 MB, free: 15.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.3683, allocations: 1.529 MB / 489.1 MB, free: 13.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.3684, allocations: 49.7 kB / 489.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008594/0.3693, allocations: 1.013 MB / 490.1 MB, free: 12.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/0.3697, allocations: 440.3 kB / 490.6 MB, free: 11.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/0.3701, allocations: 247.5 kB / 490.8 MB, free: 11.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.3703, allocations: 365.9 kB / 491.2 MB, free: 11.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.3715, allocations: 0.7222 MB / 491.9 MB, free: 10.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.373, allocations: 1.071 MB / 493 MB, free: 9.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.3757, allocations: 1.875 MB / 494.8 MB, free: 7.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.3757, allocations: 4 kB / 494.8 MB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004236/0.3799, allocations: 2.346 MB / 497.2 MB, free: 5.066 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.38, allocations: 12 kB / 497.2 MB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.38, allocations: 8 kB / 497.2 MB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.381, allocations: 415.4 kB / 497.6 MB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.3822, allocations: 327.5 kB / 497.9 MB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005568/0.3878, allocations: 4.856 MB / 0.491 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.389, allocations: 99.73 kB / 0.4911 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.426e-05/0.3891, allocations: 55.94 kB / 0.4912 GB, free: 15.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00126/0.3904, allocations: 0.7121 MB / 0.4919 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.3907, allocations: 170.9 kB / 0.492 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.3945, allocations: 2.129 MB / 0.4941 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.3945, allocations: 15.98 kB / 0.4941 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3945, allocations: 4 kB / 0.4941 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.3945, allocations: 7.984 kB / 0.4941 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008081/0.4026, allocations: 4.53 MB / 0.4985 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.4026, allocations: 0 / 0.4985 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009651/0.4036, allocations: 223.7 kB / 0.4988 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.4048, allocations: 475.1 kB / 0.4992 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-05/0.4049, allocations: 27.98 kB / 0.4992 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006892/0.4118, allocations: 6.381 MB / 0.5055 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4118, allocations: 4.047 kB / 0.5055 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/0.4171, allocations: 3.193 MB / 0.5086 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.4183, allocations: 334.8 kB / 0.5089 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.4185, allocations: 27.98 kB / 0.5089 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/0.4193, allocations: 79.86 kB / 0.509 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.4196, allocations: 112.7 kB / 0.5091 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.4196, allocations: 39.92 kB / 0.5092 GB, free: 12.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001677/0.4213, allocations: 1.056 MB / 0.5102 GB, free: 11.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4213, allocations: 0 / 0.5102 GB, free: 11.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001541/0.4229, allocations: 460 kB / 0.5106 GB, free: 10.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0003826/0.4232, allocations: 186.9 kB / 0.5108 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00361/0.4269, allocations: 2.053 MB / 0.5128 GB, free: 8.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4269, allocations: 0 / 0.5128 GB, free: 8.309 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.4291, allocations: 1.362 MB / 0.5141 GB, free: 6.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.4311, allocations: 442.6 kB / 0.5146 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008141/0.4393, allocations: 4.618 MB / 0.5191 GB, free: 1.797 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/0.4409, allocations: 1.807 MB / 0.5208 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/0.4416, allocations: 123.4 kB / 0.521 GB, free: 15.84 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4416, allocations: 0 / 0.521 GB, free: 15.84 MB / 446.1 MB Notification: Performance of Templates: time 0.2688/0.7104, allocations: 70.66 MB / 0.59 GB, free: 54.89 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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: 13.286850136937574]