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.001612/0.001612, allocations: 112.8 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.001789/0.001789, allocations: 210.5 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.663/1.663, allocations: 230.2 MB / 255.1 MB, free: 15.41 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.001845/0.001845, allocations: 67.89 kB / 374.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1106, allocations: 53.31 MB / 427.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01194/0.1226, allocations: 9.482 MB / 437.3 MB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006399/0.129, allocations: 3.058 MB / 440.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.1303, allocations: 47.81 kB / 440.4 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.1321, allocations: 0.6678 MB / 441.1 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002581/0.1347, allocations: 0.8117 MB / 441.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008859/0.1356, allocations: 363.5 kB / 442.3 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003428/0.139, allocations: 2.681 MB / 444.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.1411, allocations: 1.53 MB / 446.5 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.143, allocations: 1.215 MB / 447.7 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2226/0.3656, allocations: 1.527 MB / 449.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.3667, allocations: 307.3 kB / 449.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.3682, allocations: 413.2 kB / 449.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.3693, allocations: 0.8946 MB / 450.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002395/0.3717, allocations: 1.414 MB / 452.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006559/0.3783, allocations: 4.115 MB / 456.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3783, allocations: 3.656 kB / 456.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3783, allocations: 1.281 kB / 456.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001539/0.3785, allocations: 1.031 kB / 456.3 MB, free: 10.79 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.008324/0.3868, allocations: 2.937 MB / 459.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3868, allocations: 10.03 kB / 459.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.3883, allocations: 332.2 kB / 459.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/0.3918, allocations: 1.555 MB / 461.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.3919, allocations: 156.6 kB / 461.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004883/0.3924, allocations: 207.8 kB / 461.5 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005682/0.3981, allocations: 2.739 MB / 464.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.057e-05/0.3982, allocations: 6.344 kB / 464.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/0.3984, allocations: 81.5 kB / 464.4 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.3985, allocations: 92.08 kB / 464.4 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004443/0.4029, allocations: 2.328 MB / 466.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.4164, allocations: 8.337 MB / 475.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.4184, allocations: 1.714 MB / 476.8 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.4204, allocations: 1.008 MB / 477.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.4207, allocations: 128.1 kB / 478 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.4208, allocations: 43.41 kB / 478 MB, free: 15.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.417e-06/0.4208, allocations: 1.375 kB / 478 MB, free: 15.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.0156/0.4364, allocations: 6.231 MB / 484.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.4365, allocations: 67.41 kB / 484.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/0.4396, allocations: 1.531 MB / 485.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.4398, allocations: 45.33 kB / 485.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009265/0.4408, allocations: 1.011 MB / 486.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/0.4413, allocations: 442.3 kB / 487.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/0.4417, allocations: 253.2 kB / 487.6 MB, free: 9.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.4419, allocations: 358.1 kB / 487.9 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.4432, allocations: 0.7352 MB / 488.6 MB, free: 9.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.4446, allocations: 1.05 MB / 489.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/0.4473, allocations: 1.882 MB / 491.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.4473, allocations: 2.688 kB / 491.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004465/0.4517, allocations: 2.355 MB / 493.9 MB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.4518, allocations: 12.28 kB / 493.9 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.4518, allocations: 12 kB / 494 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.4529, allocations: 406.9 kB / 494.4 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.4542, allocations: 333.6 kB / 494.7 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006311/0.4605, allocations: 5.062 MB / 499.7 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.4623, allocations: 91.8 kB / 499.8 MB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.4624, allocations: 59.94 kB / 499.9 MB, free: 15.7 MB / 398.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.001608/0.464, allocations: 0.7022 MB / 0.4889 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004643/0.4645, allocations: 174.9 kB / 0.489 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/0.4688, allocations: 2.138 MB / 0.4911 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.4688, allocations: 12 kB / 0.4911 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.4688, allocations: 4 kB / 0.4911 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.4688, allocations: 3.984 kB / 0.4911 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009285/0.4781, allocations: 4.565 MB / 0.4956 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.4781, allocations: 4 kB / 0.4956 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009993/0.4791, allocations: 219.1 kB / 0.4958 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.4805, allocations: 470.9 kB / 0.4963 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.4806, allocations: 31.92 kB / 0.4963 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007589/0.4882, allocations: 6.686 MB / 0.5028 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4882, allocations: 7.969 kB / 0.5028 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005997/0.4942, allocations: 3.199 MB / 0.5059 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/0.4954, allocations: 403.9 kB / 0.5063 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.4957, allocations: 31.98 kB / 0.5064 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009069/0.4966, allocations: 67.92 kB / 0.5064 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.4969, allocations: 115.6 kB / 0.5065 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.523e-05/0.497, allocations: 35.98 kB / 0.5066 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00179/0.4988, allocations: 1.052 MB / 0.5076 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4988, allocations: 0 / 0.5076 GB, free: 11.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001955/0.5008, allocations: 467.9 kB / 0.508 GB, free: 10.89 MB / 414.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.000454/0.5012, allocations: 183.1 kB / 0.5082 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003937/0.5052, allocations: 2.194 MB / 0.5104 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5052, allocations: 0 / 0.5104 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002502/0.5077, allocations: 1.443 MB / 0.5118 GB, free: 7.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.51, allocations: 457.6 kB / 0.5122 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008604/0.5187, allocations: 4.582 MB / 0.5167 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/0.5205, allocations: 1.799 MB / 0.5184 GB, free: 128 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006947/0.5212, allocations: 127.3 kB / 0.5186 GB, free: 0 / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5212, allocations: 0 / 0.5186 GB, free: 0 / 414.1 MB Notification: Performance of Templates: time 0.08816/0.6093, allocations: 70.67 MB / 0.5876 GB, free: 9.355 MB / 494.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_2/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_2/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.157672231085598]