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.001265/0.001265, allocations: 85.75 kB / 21.44 MB, free: 296 kB / 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.001487/0.001487, allocations: 161.2 kB / 24.7 MB, free: 3.551 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.267/1.267, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 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_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.263e-06/1.263e-06, allocations: 0 / 299 MB, free: 8.691 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.555e-05, allocations: 2.281 kB / 299 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01162/0.01164, allocations: 8.521 MB / 307.5 MB, free: 120 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006982/0.01862, allocations: 3.297 MB / 310.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.01982, allocations: 55.62 kB / 310.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.02197, allocations: 0.6596 MB / 311.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.0247, allocations: 0.912 MB / 312.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.02586, allocations: 455.2 kB / 312.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003381/0.02924, allocations: 2.778 MB / 315.7 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.03072, allocations: 1.026 MB / 316.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.03306, allocations: 1.754 MB / 318.4 MB, free: 5.109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.03508, allocations: 1.309 MB / 319.8 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004493/0.03553, allocations: 304 kB / 320 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.03663, allocations: 0.5424 MB / 320.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.03778, allocations: 1.06 MB / 321.6 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.03909, allocations: 0.9975 MB / 322.6 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1416/0.1807, allocations: 4.309 MB / 327 MB, free: 20.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1807, allocations: 1.781 kB / 327 MB, free: 20.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1807, allocations: 0 / 327 MB, free: 20.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001168/0.1808, allocations: 0.7188 kB / 327 MB, free: 20.55 MB / 302.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.006383/0.1872, allocations: 3.131 MB / 330.1 MB, free: 19.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1872, allocations: 16.48 kB / 330.1 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007994/0.188, allocations: 343.2 kB / 330.4 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.1906, allocations: 1.557 MB / 332 MB, free: 18.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.1907, allocations: 152.3 kB / 332.1 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/0.191, allocations: 208.7 kB / 332.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004454/0.1955, allocations: 2.789 MB / 335.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/0.1955, allocations: 9.219 kB / 335.1 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/0.1957, allocations: 83.28 kB / 335.2 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.1958, allocations: 96.47 kB / 335.3 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.1994, allocations: 2.27 MB / 337.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.2102, allocations: 7.077 MB / 344.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.2126, allocations: 1.306 MB / 346 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.2142, allocations: 1.022 MB / 347 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.2144, allocations: 47.25 kB / 347 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.2145, allocations: 48.81 kB / 347.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.427e-06/0.2145, allocations: 4 kB / 347.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01083/0.2253, allocations: 5.992 MB / 353.1 MB, free: 8.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.2253, allocations: 68.72 kB / 353.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.2274, allocations: 2.013 MB / 355.2 MB, free: 6.195 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.2275, allocations: 52.36 kB / 355.2 MB, free: 6.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.228, allocations: 1.138 MB / 356.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.2283, allocations: 470.9 kB / 356.8 MB, free: 4.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.2286, allocations: 243.5 kB / 357.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.2287, allocations: 371.6 kB / 357.4 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.2297, allocations: 0.7535 MB / 358.2 MB, free: 3.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.2308, allocations: 1.013 MB / 359.2 MB, free: 2.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00228/0.2331, allocations: 1.854 MB / 361 MB, free: 168 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.2331, allocations: 4 kB / 361 MB, free: 164 kB / 302.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005559/0.2387, allocations: 2.737 MB / 363.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.2387, allocations: 14.75 kB / 363.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.2387, allocations: 11.98 kB / 363.8 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.2409, allocations: 0.7768 MB / 364.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.2421, allocations: 273.9 kB / 364.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.2548, allocations: 9.226 MB / 374.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.2563, allocations: 97.27 kB / 374.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.2564, allocations: 52.23 kB / 374.2 MB, free: 2.883 MB / 318.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.001534/0.258, allocations: 0.7487 MB / 375 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004928/0.2585, allocations: 202.7 kB / 375.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/0.2633, allocations: 2.468 MB / 377.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.2633, allocations: 14.06 kB / 377.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.2633, allocations: 8 kB / 377.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.2633, allocations: 7.969 kB / 377.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008952/0.2723, allocations: 4.372 MB / 382 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.2723, allocations: 0 / 382 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.2733, allocations: 218.1 kB / 382.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001833/0.2752, allocations: 0.6543 MB / 382.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.2753, allocations: 31.98 kB / 382.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.2854, allocations: 8.224 MB / 391.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2854, allocations: 7.438 kB / 391.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006839/0.2922, allocations: 3.525 MB / 394.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.2934, allocations: 362.5 kB / 395 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.2937, allocations: 31.98 kB / 395.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/0.2947, allocations: 79.91 kB / 395.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.295, allocations: 108.8 kB / 395.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.2951, allocations: 43.97 kB / 395.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002222/0.2973, allocations: 1.403 MB / 396.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2973, allocations: 1.531 kB / 396.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001989/0.2993, allocations: 0.5234 MB / 397.2 MB, free: 11.59 MB / 350.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.001817/0.3011, allocations: 493.5 kB / 397.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004725/0.3058, allocations: 2.3 MB / 400 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3059, allocations: 4.062 kB / 400 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002719/0.3086, allocations: 1.457 MB / 401.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.3109, allocations: 377.7 kB / 401.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009203/0.3201, allocations: 5.008 MB / 406.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/0.3218, allocations: 1.376 MB / 408.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001265/0.323, allocations: 378.6 kB / 408.6 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.3234, allocations: 128.5 kB / 408.7 MB, free: 28 kB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3234, allocations: 1.531 kB / 408.7 MB, free: 28 kB / 350.1 MB Notification: Performance of Templates: time 0.0531/0.3765, allocations: 29.39 MB / 438.1 MB, free: 2.656 MB / 382.1 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: 5.882106315344572]