Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.001622/0.001622, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001996/0.001996, allocations: 200.8 kB / 25.23 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 51.92 kB / 348.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2577, allocations: 49.15 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01102/0.2688, allocations: 9.744 MB / 407.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00696/0.2757, allocations: 3.083 MB / 410.4 MB, free: 360 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.278, allocations: 53.19 kB / 410.5 MB, free: 336 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.2806, allocations: 0.6696 MB / 411.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.2845, allocations: 0.7917 MB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.2862, allocations: 384.3 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004857/0.291, allocations: 2.458 MB / 414.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.2937, allocations: 1.027 MB / 415.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.2964, allocations: 1.1 MB / 416.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/0.2995, allocations: 1.347 MB / 418.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.3006, allocations: 279.9 kB / 418.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.3023, allocations: 370.9 kB / 418.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.3038, allocations: 0.7897 MB / 419.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003435/0.3073, allocations: 1.269 MB / 421 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006689/0.314, allocations: 3.66 MB / 424.6 MB, free: 7.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.314, allocations: 4 kB / 424.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.314, allocations: 0 / 424.6 MB, free: 7.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000167/0.3141, allocations: 0 / 424.6 MB, free: 7.402 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.008622/0.3228, allocations: 2.555 MB / 427.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.3228, allocations: 13.58 kB / 427.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.3242, allocations: 280.7 kB / 427.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/0.3276, allocations: 1.204 MB / 428.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.3277, allocations: 140.2 kB / 428.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006677/0.3284, allocations: 208 kB / 429 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005881/0.3343, allocations: 2.418 MB / 431.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.621e-05/0.3344, allocations: 4 kB / 431.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000315/0.3347, allocations: 83.94 kB / 431.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.3348, allocations: 87.69 kB / 431.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004532/0.3394, allocations: 1.966 MB / 433.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/0.3557, allocations: 7.633 MB / 441.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.3576, allocations: 1.017 MB / 442.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.3596, allocations: 0.9094 MB / 443.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.3598, allocations: 48.95 kB / 443.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/0.3598, allocations: 47.56 kB / 443.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 3.166e-06/0.3598, allocations: 0 / 443.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01406/0.3739, allocations: 5.501 MB / 448.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.374, allocations: 72.41 kB / 448.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.3763, allocations: 1.31 MB / 450.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.3765, allocations: 45.7 kB / 450.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00082/0.3773, allocations: 0.938 MB / 451.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000443/0.3778, allocations: 408.5 kB / 451.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.3782, allocations: 247.5 kB / 451.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3784, allocations: 353.9 kB / 452.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.3796, allocations: 0.6403 MB / 452.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.381, allocations: 1 MB / 453.7 MB, free: 10.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/0.3837, allocations: 1.731 MB / 455.4 MB, free: 8.672 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.3837, allocations: 3.938 kB / 455.4 MB, free: 8.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004473/0.3881, allocations: 2.242 MB / 457.7 MB, free: 6.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.3882, allocations: 20.19 kB / 457.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.3882, allocations: 12 kB / 457.7 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.3895, allocations: 487.9 kB / 458.2 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.3908, allocations: 307.5 kB / 458.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00819/0.399, allocations: 6.822 MB / 465.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.4004, allocations: 95.92 kB / 465.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/0.4006, allocations: 52 kB / 465.5 MB, free: 14.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001412/0.4021, allocations: 0.5988 MB / 466.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004897/0.4026, allocations: 155 kB / 466.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/0.4066, allocations: 1.956 MB / 468.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.4066, allocations: 8 kB / 468.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.016e-05/0.4066, allocations: 11.98 kB / 468.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.4066, allocations: 3.984 kB / 468.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00866/0.4153, allocations: 4.081 MB / 472.3 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.4153, allocations: 8.031 kB / 472.3 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000861/0.4162, allocations: 187.7 kB / 472.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.4177, allocations: 0.5348 MB / 473 MB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.4178, allocations: 39.92 kB / 473 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009466/0.4273, allocations: 8.332 MB / 481.4 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/0.4273, allocations: 11.97 kB / 481.4 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00519/0.4325, allocations: 2.852 MB / 484.2 MB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.4336, allocations: 283.3 kB / 484.5 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004407/0.434, allocations: 31.98 kB / 484.5 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.435, allocations: 67.92 kB / 484.6 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/0.4353, allocations: 96.8 kB / 484.7 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.902e-05/0.4354, allocations: 28 kB / 484.7 MB, free: 10.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001677/0.437, allocations: 0.8916 MB / 485.6 MB, free: 9.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.437, allocations: 0 / 485.6 MB, free: 9.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002028/0.4391, allocations: 439.9 kB / 486.1 MB, free: 9.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0004544/0.4395, allocations: 186.9 kB / 486.2 MB, free: 8.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003847/0.4434, allocations: 2.002 MB / 488.2 MB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.4434, allocations: 4 kB / 488.2 MB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/0.4459, allocations: 1.389 MB / 489.6 MB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.4483, allocations: 404.5 kB / 490 MB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008212/0.4565, allocations: 4.241 MB / 494.3 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.4583, allocations: 1.634 MB / 495.9 MB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/0.4589, allocations: 103.4 kB / 496 MB, free: 14.84 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4589, allocations: 4 kB / 496 MB, free: 14.84 MB / 414.1 MB Notification: Performance of Templates: time 0.08661/0.5455, allocations: 71.04 MB / 0.5538 GB, free: 7.617 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.693206669995561]