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.001727/0.001727, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002231/0.002231, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.437/1.437, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.002002/0.002002, allocations: 59.91 kB / 379 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.292, allocations: 53.4 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01304/0.3051, allocations: 8.365 MB / 440.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006828/0.3119, allocations: 2.882 MB / 443.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.3138, allocations: 59.62 kB / 443.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.3162, allocations: 0.621 MB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.3194, allocations: 0.8157 MB / 445.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3206, allocations: 367.5 kB / 445.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00421/0.3248, allocations: 2.681 MB / 448.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.3266, allocations: 1.124 MB / 449.3 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.3289, allocations: 1.234 MB / 450.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.3317, allocations: 1.471 MB / 452 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005849/0.3323, allocations: 308 kB / 452.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.3333, allocations: 407.8 kB / 452.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.3343, allocations: 0.8998 MB / 453.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.3358, allocations: 1.144 MB / 454.8 MB, free: 24 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.3413, allocations: 4.138 MB / 458.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.3413, allocations: 4 kB / 458.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3413, allocations: 0 / 458.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001327/0.3414, allocations: 0 / 458.9 MB, free: 11.86 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.006651/0.3481, allocations: 2.865 MB / 461.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3481, allocations: 11.98 kB / 461.8 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.3492, allocations: 335.1 kB / 462.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/0.3522, allocations: 1.484 MB / 463.6 MB, free: 7.082 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.3523, allocations: 152.4 kB / 463.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003315/0.3527, allocations: 211.9 kB / 463.9 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005025/0.3577, allocations: 2.836 MB / 466.8 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-05/0.3578, allocations: 7.953 kB / 466.8 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.358, allocations: 83.98 kB / 466.9 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.3581, allocations: 95.88 kB / 467 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004329/0.3624, allocations: 2.326 MB / 469.3 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.3766, allocations: 7.242 MB / 476.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.3787, allocations: 1.246 MB / 477.8 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.3806, allocations: 1.015 MB / 478.8 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/0.3809, allocations: 48.91 kB / 478.8 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.3809, allocations: 47.56 kB / 478.9 MB, free: 7.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.356e-06/0.3809, allocations: 3.938 kB / 478.9 MB, free: 7.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01338/0.3943, allocations: 5.922 MB / 484.8 MB, free: 1.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.3943, allocations: 64.41 kB / 484.9 MB, free: 1.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.3967, allocations: 1.401 MB / 486.3 MB, free: 15.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.3969, allocations: 45.7 kB / 486.3 MB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008501/0.3977, allocations: 1.028 MB / 487.3 MB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00042/0.3981, allocations: 436.3 kB / 487.8 MB, free: 14.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/0.3986, allocations: 251.5 kB / 488 MB, free: 14.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3988, allocations: 357.9 kB / 488.4 MB, free: 13.85 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.4, allocations: 0.73 MB / 489.1 MB, free: 13.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.4015, allocations: 1.059 MB / 490.2 MB, free: 11.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002753/0.4042, allocations: 1.875 MB / 492 MB, free: 9.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/0.4042, allocations: 4 kB / 492 MB, free: 9.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004251/0.4085, allocations: 2.35 MB / 494.4 MB, free: 7.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.4085, allocations: 10.81 kB / 494.4 MB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.4085, allocations: 12 kB / 494.4 MB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009998/0.4095, allocations: 403.1 kB / 494.8 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.4108, allocations: 331.6 kB / 495.1 MB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/0.4164, allocations: 4.775 MB / 499.9 MB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.4177, allocations: 91.91 kB / 500 MB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.4179, allocations: 59.98 kB / 0.4883 GB, free: 1.668 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.001262/0.4191, allocations: 0.712 MB / 0.489 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/0.4195, allocations: 163 kB / 0.4892 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00384/0.4233, allocations: 2.12 MB / 0.4912 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.4233, allocations: 15.94 kB / 0.4913 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4233, allocations: 0 / 0.4913 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.4233, allocations: 7.984 kB / 0.4913 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008663/0.432, allocations: 4.039 MB / 0.4952 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.432, allocations: 0 / 0.4952 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.4331, allocations: 215.7 kB / 0.4954 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.4344, allocations: 475.1 kB / 0.4959 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.922e-05/0.4345, allocations: 35.92 kB / 0.4959 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007115/0.4416, allocations: 6.27 MB / 0.502 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4416, allocations: 0 / 0.502 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006171/0.4478, allocations: 3.173 MB / 0.5051 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.449, allocations: 322.8 kB / 0.5054 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.4492, allocations: 24 kB / 0.5055 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008039/0.45, allocations: 75.91 kB / 0.5055 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/0.4503, allocations: 108.7 kB / 0.5056 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/0.4504, allocations: 35.98 kB / 0.5057 GB, free: 15.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001835/0.4523, allocations: 0.9509 MB / 0.5066 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4523, allocations: 3.938 kB / 0.5066 GB, free: 14.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001809/0.4541, allocations: 456 kB / 0.507 GB, free: 14 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.0004024/0.4545, allocations: 193.9 kB / 0.5072 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003718/0.4582, allocations: 2.045 MB / 0.5092 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4582, allocations: 0.625 kB / 0.5092 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.4606, allocations: 1.369 MB / 0.5106 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.4625, allocations: 390.9 kB / 0.5109 GB, free: 9.941 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.4701, allocations: 4.597 MB / 0.5154 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.4716, allocations: 1.222 MB / 0.5166 GB, free: 4.012 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/0.4721, allocations: 111.4 kB / 0.5167 GB, free: 3.902 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4722, allocations: 0 / 0.5167 GB, free: 3.902 MB / 430.1 MB Notification: Performance of Templates: time 0.2708/0.7429, allocations: 70.39 MB / 0.5855 GB, free: 61.56 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: 12.483648687135428]