Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.001531/0.001531, allocations: 96.3 kB / 21.73 MB, free: 2.695 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.001579/0.001579, allocations: 166.6 kB / 25.02 MB, free: 8.43 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.385/1.385, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 250.4 MB, free: 3.902 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.523e-05, allocations: 2.312 kB / 250.4 MB, free: 3.898 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01882/0.01886, allocations: 8.537 MB / 258.9 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.0302, allocations: 3.297 MB / 262.2 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.03231, allocations: 55.62 kB / 262.3 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003504/0.03581, allocations: 0.6636 MB / 263 MB, free: 7.281 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004913/0.04072, allocations: 0.9082 MB / 263.9 MB, free: 6.367 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.04273, allocations: 463.1 kB / 264.3 MB, free: 5.914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005831/0.04856, allocations: 2.77 MB / 267.1 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002774/0.05134, allocations: 1.03 MB / 268.1 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004616/0.05595, allocations: 1.742 MB / 269.9 MB, free: 312 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003827/0.05978, allocations: 1.313 MB / 271.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008266/0.06061, allocations: 304 kB / 271.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.06251, allocations: 0.55 MB / 272 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001843/0.06436, allocations: 1.063 MB / 273.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002354/0.06671, allocations: 0.9975 MB / 274.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008695/0.07541, allocations: 4.311 MB / 278.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.07541, allocations: 0 / 278.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.07541, allocations: 0 / 278.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001186/0.07553, allocations: 0 / 278.4 MB, free: 7.75 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009033/0.08457, allocations: 3.138 MB / 281.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.08462, allocations: 11.98 kB / 281.5 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.08655, allocations: 0.5028 MB / 282 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004438/0.09098, allocations: 1.587 MB / 283.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.09119, allocations: 152.4 kB / 283.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005775/0.09176, allocations: 212.3 kB / 284 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006954/0.09872, allocations: 2.802 MB / 286.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.353e-05/0.0988, allocations: 3.938 kB / 286.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.09911, allocations: 84 kB / 286.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.09928, allocations: 95.92 kB / 287 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005711/0.105, allocations: 2.268 MB / 289.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/0.1218, allocations: 7.188 MB / 296.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003419/0.1252, allocations: 1.309 MB / 297.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/0.1275, allocations: 1.023 MB / 298.8 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.1278, allocations: 60.91 kB / 298.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.1279, allocations: 43.56 kB / 298.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 3.727e-06/0.1279, allocations: 0 / 298.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.1371/0.265, allocations: 6.036 MB / 304.9 MB, free: 55.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.265, allocations: 65.94 kB / 305 MB, free: 55.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/0.2684, allocations: 2.018 MB / 307 MB, free: 54.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.2685, allocations: 46.14 kB / 307 MB, free: 54.81 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007008/0.2692, allocations: 1.134 MB / 308.2 MB, free: 54.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.2695, allocations: 476.8 kB / 308.6 MB, free: 53.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004028/0.2699, allocations: 239.2 kB / 308.9 MB, free: 53.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.27, allocations: 365.6 kB / 309.2 MB, free: 53.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.2713, allocations: 0.7586 MB / 310 MB, free: 53.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.2727, allocations: 1.013 MB / 311 MB, free: 52.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/0.2754, allocations: 1.86 MB / 312.8 MB, free: 51.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.2754, allocations: 2.656 kB / 312.8 MB, free: 51.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004746/0.2801, allocations: 2.796 MB / 315.6 MB, free: 50.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.2802, allocations: 7.812 kB / 315.6 MB, free: 50.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.2802, allocations: 6.812 kB / 315.7 MB, free: 50.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00251/0.2827, allocations: 0.9636 MB / 316.6 MB, free: 50.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.2838, allocations: 278.5 kB / 316.9 MB, free: 50.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009322/0.2931, allocations: 9.279 MB / 326.2 MB, free: 41.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.2946, allocations: 91.89 kB / 326.3 MB, free: 41.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.2947, allocations: 53.16 kB / 326.3 MB, free: 41.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001124/0.2958, allocations: 0.7446 MB / 327.1 MB, free: 40.54 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/0.2963, allocations: 249.3 kB / 327.3 MB, free: 40.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.3001, allocations: 2.455 MB / 329.8 MB, free: 37.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/0.3002, allocations: 19.98 kB / 329.8 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.3002, allocations: 8 kB / 329.8 MB, free: 37.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.3002, allocations: 7.984 kB / 329.8 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007684/0.3079, allocations: 4.371 MB / 334.2 MB, free: 33.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.3079, allocations: 4.875 kB / 334.2 MB, free: 33.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.3089, allocations: 215.7 kB / 334.4 MB, free: 33.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002079/0.311, allocations: 0.7333 MB / 335.1 MB, free: 32.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.3111, allocations: 35.91 kB / 335.1 MB, free: 32.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007161/0.3182, allocations: 8.284 MB / 343.4 MB, free: 23.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3182, allocations: 0 / 343.4 MB, free: 23.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/0.3238, allocations: 3.557 MB / 347 MB, free: 20.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009633/0.3247, allocations: 358.6 kB / 347.3 MB, free: 19.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/0.3251, allocations: 31.98 kB / 347.4 MB, free: 19.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.3263, allocations: 82.84 kB / 347.4 MB, free: 19.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/0.3265, allocations: 116.7 kB / 347.6 MB, free: 19.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.3266, allocations: 43.92 kB / 347.6 MB, free: 19.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001808/0.3285, allocations: 1.41 MB / 349 MB, free: 18.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3285, allocations: 0 / 349 MB, free: 18.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001949/0.3304, allocations: 0.5222 MB / 349.5 MB, free: 17.72 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001989/0.3324, allocations: 485.7 kB / 350 MB, free: 17.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00394/0.3363, allocations: 2.309 MB / 352.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3363, allocations: 0 / 352.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002274/0.3386, allocations: 1.458 MB / 353.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.341, allocations: 401.6 kB / 354.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/0.3489, allocations: 5.079 MB / 359.2 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.3503, allocations: 1.377 MB / 360.6 MB, free: 6.559 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001119/0.3514, allocations: 378.6 kB / 361 MB, free: 6.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/0.3518, allocations: 120.5 kB / 361.1 MB, free: 6.066 MB / 282.7 MB Notification: Performance of SimCode: time 1.763e-06/0.3518, allocations: 0 / 361.1 MB, free: 6.066 MB / 282.7 MB Notification: Performance of Templates: time 0.05412/0.406, allocations: 29.52 MB / 390.6 MB, free: 8.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_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_withLosses/AIMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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.480020450078882]