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.001327/0.001327, allocations: 84.88 kB / 22 MB, free: 4.754 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.001418/0.001418, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.399/1.399, allocations: 158.6 MB / 187 MB, free: 6.34 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_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: 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.00184/0.00184, allocations: 55.92 kB / 299.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2044, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01172/0.2161, allocations: 8.523 MB / 357.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006695/0.2228, allocations: 3.301 MB / 360.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009783/0.2238, allocations: 55.62 kB / 360.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.2255, allocations: 0.6522 MB / 361.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.2278, allocations: 0.8778 MB / 362 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.229, allocations: 467.2 kB / 362.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003378/0.2324, allocations: 2.666 MB / 365.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.2339, allocations: 1.022 MB / 366.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.2356, allocations: 1.219 MB / 367.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002205/0.2378, allocations: 1.451 MB / 368.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004581/0.2383, allocations: 304 kB / 369.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.2394, allocations: 0.5386 MB / 369.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.2405, allocations: 1.044 MB / 370.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.242, allocations: 1.194 MB / 371.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004976/0.247, allocations: 4.315 MB / 376.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.247, allocations: 0 / 376.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.247, allocations: 0 / 376.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.841e-05/0.247, allocations: 4 kB / 376.2 MB, free: 3.77 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006281/0.2533, allocations: 3.165 MB / 379.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2534, allocations: 15.98 kB / 379.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008594/0.2542, allocations: 338.9 kB / 379.7 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.2571, allocations: 1.541 MB / 381.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.2573, allocations: 163.9 kB / 381.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003216/0.2577, allocations: 203.9 kB / 381.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004953/0.2626, allocations: 2.791 MB / 384.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.129e-05/0.2627, allocations: 11.94 kB / 384.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.2629, allocations: 83.98 kB / 384.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/0.263, allocations: 99.86 kB / 384.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004313/0.2673, allocations: 2.279 MB / 386.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.28, allocations: 7.074 MB / 393.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.2829, allocations: 1.308 MB / 395.2 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/0.285, allocations: 1.028 MB / 396.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.2853, allocations: 40.97 kB / 396.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.2853, allocations: 47.56 kB / 396.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.376e-06/0.2853, allocations: 0 / 396.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01338/0.2987, allocations: 5.991 MB / 402.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.2987, allocations: 64.72 kB / 402.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/0.3021, allocations: 2.021 MB / 404.4 MB, free: 7.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.3022, allocations: 49.7 kB / 404.5 MB, free: 7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000985/0.3032, allocations: 1.129 MB / 405.6 MB, free: 5.859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004624/0.3037, allocations: 483.9 kB / 406.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004751/0.3042, allocations: 243.6 kB / 406.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3044, allocations: 353.9 kB / 406.6 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.3058, allocations: 0.7652 MB / 407.4 MB, free: 4.023 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.3075, allocations: 1.006 MB / 408.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.3107, allocations: 1.861 MB / 410.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.381e-06/0.3108, allocations: 3.938 kB / 410.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005588/0.3163, allocations: 2.739 MB / 413 MB, free: 14.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.3164, allocations: 11.98 kB / 413 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.3164, allocations: 4 kB / 413 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002122/0.3185, allocations: 0.7775 MB / 413.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.3197, allocations: 271.6 kB / 414.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/0.3339, allocations: 9.247 MB / 423.3 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.3354, allocations: 91.89 kB / 423.4 MB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.3356, allocations: 51.98 kB / 423.5 MB, free: 3.559 MB / 382.1 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.001564/0.3372, allocations: 0.7433 MB / 424.2 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006002/0.3378, allocations: 198.7 kB / 424.4 MB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005238/0.343, allocations: 2.472 MB / 426.9 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/0.3431, allocations: 19.98 kB / 426.9 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.3431, allocations: 8 kB / 426.9 MB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.3431, allocations: 7.969 kB / 426.9 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009457/0.3526, allocations: 4.373 MB / 431.3 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.3526, allocations: 4 kB / 431.3 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.3537, allocations: 215.7 kB / 431.5 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.3555, allocations: 0.6472 MB / 432.1 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.3557, allocations: 39.97 kB / 432.2 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/0.3663, allocations: 8.244 MB / 440.4 MB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3663, allocations: 3.938 kB / 440.4 MB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007055/0.3734, allocations: 3.509 MB / 443.9 MB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.3744, allocations: 358.6 kB / 444.3 MB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/0.3748, allocations: 35.92 kB / 444.3 MB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.376, allocations: 87.89 kB / 444.4 MB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.3763, allocations: 112.7 kB / 444.5 MB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.3764, allocations: 39.97 kB / 444.6 MB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002444/0.3789, allocations: 1.407 MB / 446 MB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3789, allocations: 0 / 446 MB, free: 12.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001997/0.3809, allocations: 0.5234 MB / 446.5 MB, free: 12.06 MB / 414.1 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.001813/0.3827, allocations: 493 kB / 447 MB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004719/0.3874, allocations: 2.295 MB / 449.3 MB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3874, allocations: 0 / 449.3 MB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002897/0.3903, allocations: 1.467 MB / 450.7 MB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.3924, allocations: 381.6 kB / 451.1 MB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009931/0.4023, allocations: 5.185 MB / 456.3 MB, free: 2.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002196/0.4045, allocations: 1.368 MB / 457.6 MB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001269/0.4058, allocations: 378.6 kB / 458 MB, free: 352 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/0.4062, allocations: 124.5 kB / 458.1 MB, free: 228 kB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4062, allocations: 0 / 458.1 MB, free: 228 kB / 414.1 MB Notification: Performance of Templates: time 0.2076/0.6139, allocations: 29.55 MB / 487.7 MB, free: 104.7 MB / 430.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/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/jenkins1/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.365424174000509]