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.001282/0.001282, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.001637/0.001637, allocations: 168.1 kB / 25.33 MB, free: 9.449 MB / 18.57 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.022/1.022, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.517e-06/3.517e-06, allocations: 4 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.819e-05, allocations: 6.312 kB / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01008/0.01012, allocations: 9.616 MB / 260.7 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006862/0.01698, allocations: 3.02 MB / 263.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.01906, allocations: 47.69 kB / 263.8 MB, free: 6.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.02085, allocations: 0.6286 MB / 264.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.02358, allocations: 0.8147 MB / 265.2 MB, free: 5.379 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.02445, allocations: 379.4 kB / 265.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003034/0.02748, allocations: 2.552 MB / 268.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.02878, allocations: 0.9894 MB / 269.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.03133, allocations: 1.614 MB / 270.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.0332, allocations: 1.204 MB / 271.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005072/0.03371, allocations: 280 kB / 272.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008441/0.03456, allocations: 367.8 kB / 272.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000666/0.03522, allocations: 0.818 MB / 273.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.03644, allocations: 0.8809 MB / 274.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.03894, allocations: 2.029 MB / 276.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.03894, allocations: 0 / 276.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03895, allocations: 3.938 kB / 276.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.985e-05/0.03898, allocations: 0 / 276.3 MB, free: 10.21 MB / 266.7 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.002937/0.04191, allocations: 2.705 MB / 279 MB, free: 7.453 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.04196, allocations: 11.98 kB / 279 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000644/0.04261, allocations: 435.3 kB / 279.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.044, allocations: 1.168 MB / 280.6 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/0.04408, allocations: 144.2 kB / 280.7 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.04427, allocations: 196.3 kB / 280.9 MB, free: 5.473 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.0467, allocations: 1.555 MB / 282.5 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.04675, allocations: 15.88 kB / 282.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.04685, allocations: 79.98 kB / 282.6 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.638e-05/0.04693, allocations: 91.67 kB / 282.7 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.04821, allocations: 0.7046 MB / 283.4 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007288/0.05549, allocations: 6.605 MB / 290 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009986/0.05649, allocations: 0.593 MB / 290.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.05753, allocations: 0.5881 MB / 291.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.05776, allocations: 48.97 kB / 291.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/0.05781, allocations: 50.39 kB / 291.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=95): time 6.612e-06/0.05782, allocations: 0 / 291.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=111): time 0.005999/0.06382, allocations: 3.208 MB / 294.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.06387, allocations: 64.41 kB / 294.5 MB, free: 7.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.06503, allocations: 1.072 MB / 295.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.06509, allocations: 53.64 kB / 295.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007308/0.06582, allocations: 1.01 MB / 296.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.06607, allocations: 420.5 kB / 297.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.06633, allocations: 249.2 kB / 297.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.06649, allocations: 0.5355 MB / 297.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.06685, allocations: 227.8 kB / 298.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005876/0.06744, allocations: 0.726 MB / 298.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.06851, allocations: 1.062 MB / 299.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.06852, allocations: 4 kB / 299.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001957/0.07048, allocations: 1.315 MB / 301.2 MB, free: 332 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.0705, allocations: 8 kB / 301.2 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.07051, allocations: 12 kB / 301.2 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1487/0.2192, allocations: 307 kB / 301.5 MB, free: 50.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.2203, allocations: 299.4 kB / 301.8 MB, free: 50.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/0.2245, allocations: 6.718 MB / 308.5 MB, free: 44.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.2256, allocations: 85.34 kB / 308.6 MB, free: 44.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.2257, allocations: 55.34 kB / 308.7 MB, free: 44.44 MB / 282.7 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.0005653/0.2262, allocations: 246.4 kB / 308.9 MB, free: 44.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.2265, allocations: 176.5 kB / 309.1 MB, free: 44.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.2283, allocations: 1.075 MB / 310.1 MB, free: 44.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.2283, allocations: 12.31 kB / 310.2 MB, free: 44.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.2284, allocations: 5.219 kB / 310.2 MB, free: 44.13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.2284, allocations: 7.875 kB / 310.2 MB, free: 44.13 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.2329, allocations: 2.744 MB / 312.9 MB, free: 43.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.2329, allocations: 2.703 kB / 312.9 MB, free: 43.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/0.2334, allocations: 180.5 kB / 313.1 MB, free: 43.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.2346, allocations: 359.5 kB / 313.4 MB, free: 43.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.2347, allocations: 28.78 kB / 313.5 MB, free: 43.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/0.239, allocations: 8.562 MB / 322 MB, free: 36.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.239, allocations: 6.344 kB / 322 MB, free: 36.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.2414, allocations: 1.546 MB / 323.6 MB, free: 35.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005392/0.2419, allocations: 260.6 kB / 323.8 MB, free: 35.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.242, allocations: 28.75 kB / 323.9 MB, free: 35.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.2425, allocations: 67.11 kB / 323.9 MB, free: 35.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.2427, allocations: 95.88 kB / 324 MB, free: 35.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.2427, allocations: 31.91 kB / 324.1 MB, free: 35.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007436/0.2435, allocations: 0.6332 MB / 324.7 MB, free: 35.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2435, allocations: 0 / 324.7 MB, free: 35.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001341/0.2448, allocations: 433 kB / 325.1 MB, free: 35.38 MB / 282.7 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.0003319/0.2451, allocations: 183.7 kB / 325.3 MB, free: 35.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.247, allocations: 1.491 MB / 326.8 MB, free: 34.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.247, allocations: 0 / 326.8 MB, free: 34.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.2481, allocations: 1.292 MB / 328.1 MB, free: 33.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.2491, allocations: 366.4 kB / 328.4 MB, free: 33.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.2543, allocations: 3.495 MB / 331.9 MB, free: 31.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.2548, allocations: 0.491 MB / 332.4 MB, free: 31.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000514/0.2553, allocations: 254.9 kB / 332.7 MB, free: 31.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.2555, allocations: 95.73 kB / 332.8 MB, free: 31.02 MB / 282.7 MB Notification: Performance of SimCode: time 2.084e-06/0.2555, allocations: 0 / 332.8 MB, free: 31.02 MB / 282.7 MB Notification: Performance of Templates: time 0.03016/0.2857, allocations: 22.91 MB / 355.7 MB, free: 8.562 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.821720070205629]