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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 104.8 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.933/1.933, allocations: 207.6 MB / 235.2 MB, free: 10.03 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 55.91 kB / 347.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3887, allocations: 49.15 MB / 396.8 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01322/0.402, allocations: 9.743 MB / 406.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008809/0.4108, allocations: 3.08 MB / 409.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/0.4138, allocations: 53.88 kB / 409.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003222/0.417, allocations: 0.6653 MB / 410.4 MB, free: 212 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005975/0.423, allocations: 0.7907 MB / 411.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.425, allocations: 392.6 kB / 411.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006206/0.4312, allocations: 2.459 MB / 414 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.4333, allocations: 1.026 MB / 415 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002992/0.4363, allocations: 1.103 MB / 416.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.4399, allocations: 1.34 MB / 417.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.4413, allocations: 281.2 kB / 417.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.4437, allocations: 374.6 kB / 418.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.445, allocations: 0.7896 MB / 418.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003116/0.4481, allocations: 1.273 MB / 420.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00664/0.4547, allocations: 3.656 MB / 423.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4547, allocations: 0 / 423.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4547, allocations: 0 / 423.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001817/0.4549, allocations: 1.75 kB / 423.8 MB, free: 7.602 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.008978/0.4639, allocations: 2.556 MB / 426.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/0.464, allocations: 13.77 kB / 426.4 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.465, allocations: 278.1 kB / 426.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/0.4681, allocations: 1.204 MB / 427.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.4682, allocations: 140.2 kB / 428 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/0.4686, allocations: 204 kB / 428.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005117/0.4737, allocations: 2.422 MB / 430.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.477e-05/0.4738, allocations: 8 kB / 430.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.474, allocations: 80 kB / 430.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.4741, allocations: 95.55 kB / 430.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/0.4783, allocations: 1.955 MB / 432.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/0.4944, allocations: 7.637 MB / 440.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.4962, allocations: 1.026 MB / 441.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.4981, allocations: 0.9123 MB / 442.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.4984, allocations: 36.97 kB / 442.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.4984, allocations: 47.56 kB / 442.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 4.268e-06/0.4984, allocations: 0 / 442.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01545/0.5139, allocations: 5.509 MB / 447.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.514, allocations: 60.41 kB / 448 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/0.5167, allocations: 1.306 MB / 449.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.5169, allocations: 45.7 kB / 449.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009888/0.5179, allocations: 0.9419 MB / 450.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004803/0.5184, allocations: 412.5 kB / 450.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005127/0.5189, allocations: 247.5 kB / 450.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000274/0.5192, allocations: 361.9 kB / 451.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.5203, allocations: 0.6363 MB / 451.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.5218, allocations: 1.004 MB / 452.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/0.5244, allocations: 1.727 MB / 454.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.5244, allocations: 4 kB / 454.7 MB, free: 8.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005212/0.5297, allocations: 2.246 MB / 456.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.5297, allocations: 8 kB / 456.9 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/0.5297, allocations: 12 kB / 456.9 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.5313, allocations: 496.2 kB / 457.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.5325, allocations: 303.5 kB / 457.7 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009257/0.5418, allocations: 6.82 MB / 464.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.5438, allocations: 87.88 kB / 464.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.5439, allocations: 55.98 kB / 464.7 MB, free: 14.45 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.001724/0.5456, allocations: 0.6028 MB / 465.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004609/0.5461, allocations: 151 kB / 465.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/0.55, allocations: 1.96 MB / 467.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.55, allocations: 16 kB / 467.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.55, allocations: 4 kB / 467.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.5501, allocations: 7.969 kB / 467.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008363/0.5584, allocations: 4.085 MB / 471.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.5584, allocations: 0 / 471.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/0.5593, allocations: 179.8 kB / 471.7 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/0.5608, allocations: 0.5468 MB / 472.2 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.5609, allocations: 31.92 kB / 472.2 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009869/0.5708, allocations: 8.344 MB / 480.6 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.5708, allocations: 7.938 kB / 480.6 MB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005316/0.5761, allocations: 2.845 MB / 483.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.5774, allocations: 286.9 kB / 483.7 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.5776, allocations: 20.19 kB / 483.7 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008368/0.5784, allocations: 75.92 kB / 483.8 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/0.5787, allocations: 96.73 kB / 483.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/0.5788, allocations: 31.98 kB / 483.9 MB, free: 10.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.5804, allocations: 0.8878 MB / 484.8 MB, free: 9.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5804, allocations: 4 kB / 484.8 MB, free: 9.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002028/0.5824, allocations: 443.9 kB / 485.3 MB, free: 9.191 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.0004801/0.5829, allocations: 175.6 kB / 485.4 MB, free: 9.012 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003954/0.5868, allocations: 2.008 MB / 487.4 MB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.5868, allocations: 0 / 487.4 MB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002438/0.5893, allocations: 1.384 MB / 488.8 MB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.5919, allocations: 420.3 kB / 489.2 MB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008963/0.6009, allocations: 4.19 MB / 493.4 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.6026, allocations: 1.646 MB / 495.1 MB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001329/0.604, allocations: 320.8 kB / 495.4 MB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.6043, allocations: 99.42 kB / 495.5 MB, free: 14.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.633e-06/0.6043, allocations: 0 / 495.5 MB, free: 14.75 MB / 414.1 MB Notification: Performance of Templates: time 0.05332/0.6576, allocations: 25.23 MB / 0.5085 GB, free: 5.477 MB / 430.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/jenkins/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/jenkins/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: 6.453605331480503]