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.001852/0.001852, allocations: 85.8 kB / 22 MB, free: 4.746 MB / 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.00222/0.00222, allocations: 157.4 kB / 25.24 MB, free: 2.742 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.34/1.34, allocations: 158.6 MB / 187 MB, free: 6.363 MB / 174.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.001833/0.001833, allocations: 56.3 kB / 299.4 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2179, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01258/0.2305, allocations: 8.539 MB / 357.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006129/0.2366, allocations: 2.903 MB / 360 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.2377, allocations: 51.62 kB / 360 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.2394, allocations: 0.621 MB / 360.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.2416, allocations: 0.7882 MB / 361.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.2425, allocations: 379.4 kB / 361.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003018/0.2456, allocations: 2.467 MB / 364.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.247, allocations: 0.9804 MB / 365.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.2485, allocations: 1.11 MB / 366.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.2504, allocations: 1.237 MB / 367.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.2508, allocations: 280 kB / 367.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006996/0.2515, allocations: 363.8 kB / 368.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008737/0.2524, allocations: 0.7907 MB / 369 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.2536, allocations: 1.031 MB / 370 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.2575, allocations: 3.674 MB / 373.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2575, allocations: 3.938 kB / 373.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2575, allocations: 0 / 373.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.805e-05/0.2575, allocations: 4 kB / 373.7 MB, free: 6.176 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.004811/0.2624, allocations: 2.564 MB / 376.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2624, allocations: 19.98 kB / 376.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006681/0.2631, allocations: 267.4 kB / 376.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.2653, allocations: 1.204 MB / 377.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.2654, allocations: 144.2 kB / 377.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003129/0.2657, allocations: 196.1 kB / 378.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004097/0.2698, allocations: 2.519 MB / 380.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/0.2699, allocations: 4 kB / 380.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.27, allocations: 79.98 kB / 380.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.2701, allocations: 87.69 kB / 380.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/0.2736, allocations: 1.959 MB / 382.8 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/0.285, allocations: 6.778 MB / 389.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.2867, allocations: 1.003 MB / 390.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001941/0.2886, allocations: 0.9161 MB / 391.4 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.2888, allocations: 40.97 kB / 391.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.2889, allocations: 43.56 kB / 391.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.725e-06/0.2889, allocations: 0 / 391.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01287/0.3017, allocations: 5.501 MB / 397 MB, free: 14.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.3018, allocations: 64.41 kB / 397.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.3034, allocations: 1.17 MB / 398.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.767e-05/0.3035, allocations: 41.7 kB / 398.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007762/0.3043, allocations: 0.9488 MB / 399.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.3047, allocations: 412.5 kB / 399.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/0.3051, allocations: 247.5 kB / 399.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3053, allocations: 361.9 kB / 400.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.3064, allocations: 0.6402 MB / 400.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.3077, allocations: 1.001 MB / 401.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/0.3103, allocations: 1.731 MB / 403.6 MB, free: 7.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3104, allocations: 3.938 kB / 403.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004134/0.3145, allocations: 2.23 MB / 405.9 MB, free: 5.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.3145, allocations: 12.25 kB / 405.9 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.3145, allocations: 16 kB / 405.9 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.3158, allocations: 491.8 kB / 406.4 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.317, allocations: 311.5 kB / 406.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008228/0.3252, allocations: 6.683 MB / 413.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.3262, allocations: 83.92 kB / 413.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.3263, allocations: 59.97 kB / 413.5 MB, free: 13.25 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.001072/0.3274, allocations: 0.6028 MB / 414.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.3277, allocations: 143 kB / 414.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/0.3314, allocations: 1.948 MB / 416.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.3314, allocations: 12 kB / 416.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.3314, allocations: 7.938 kB / 416.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.3314, allocations: 3.984 kB / 416.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006776/0.3382, allocations: 3.634 MB / 419.8 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3382, allocations: 4 kB / 419.8 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008433/0.3391, allocations: 183.8 kB / 420 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.3406, allocations: 0.5472 MB / 420.6 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.429e-05/0.3407, allocations: 31.98 kB / 420.6 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009479/0.3502, allocations: 8.202 MB / 428.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.3502, allocations: 4.031 kB / 428.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004815/0.355, allocations: 2.832 MB / 431.6 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006484/0.3556, allocations: 270.9 kB / 431.9 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.3558, allocations: 28 kB / 431.9 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/0.3566, allocations: 71.92 kB / 432 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.3568, allocations: 88.77 kB / 432.1 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.3569, allocations: 35.98 kB / 432.1 MB, free: 10.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001222/0.3581, allocations: 0.7829 MB / 432.9 MB, free: 9.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3581, allocations: 3.938 kB / 432.9 MB, free: 9.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00148/0.3596, allocations: 432 kB / 433.3 MB, free: 8.797 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.0003454/0.3599, allocations: 178.9 kB / 433.5 MB, free: 8.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003584/0.3635, allocations: 2.003 MB / 435.5 MB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3635, allocations: 0 / 435.5 MB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002421/0.3659, allocations: 1.392 MB / 436.9 MB, free: 5.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.3676, allocations: 356.8 kB / 437.3 MB, free: 4.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/0.3744, allocations: 4.163 MB / 441.4 MB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.3757, allocations: 1.068 MB / 442.5 MB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000878/0.3766, allocations: 307.8 kB / 442.8 MB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.3769, allocations: 92.48 kB / 442.9 MB, free: 15.03 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3769, allocations: 0 / 442.9 MB, free: 15.03 MB / 414.1 MB Notification: Performance of Templates: time 0.0413/0.4182, allocations: 22.84 MB / 465.7 MB, free: 8.129 MB / 430.1 MB " [Timeout remaining time 660] 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 -s ida -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: 5.400199769996107]