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.0008937/0.0008937, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.0052/0.0052, allocations: 166 kB / 24.7 MB, free: 8.887 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 0.9134/0.9134, allocations: 158.6 MB / 186.5 MB, free: 3.047 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 298.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.611e-05, allocations: 6.219 kB / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.1613/0.1613, allocations: 8.519 MB / 307 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006546/0.1679, allocations: 3.299 MB / 310.3 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1692, allocations: 49.31 kB / 310.3 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.1713, allocations: 0.6652 MB / 311 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.1733, allocations: 0.9052 MB / 311.9 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.1744, allocations: 464.5 kB / 312.4 MB, free: 7.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002765/0.1772, allocations: 2.765 MB / 315.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.1785, allocations: 1.032 MB / 316.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.1807, allocations: 1.745 MB / 317.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.1824, allocations: 1.311 MB / 319.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004867/0.1829, allocations: 308.9 kB / 319.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.185, allocations: 0.5414 MB / 320.1 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.1864, allocations: 1.064 MB / 321.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003388/0.1898, allocations: 0.9988 MB / 322.1 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004858/0.1947, allocations: 4.31 MB / 326.4 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.1947, allocations: 0 / 326.4 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1947, allocations: 1.281 kB / 326.4 MB, free: 472 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001916/0.1949, allocations: 3.938 kB / 326.4 MB, free: 468 kB / 282.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.008117/0.203, allocations: 3.137 MB / 329.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.203, allocations: 13.52 kB / 329.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005802/0.2036, allocations: 357.3 kB / 329.9 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.2047, allocations: 350.6 kB / 330.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/0.2078, allocations: 1.561 MB / 331.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.208, allocations: 155.9 kB / 332 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003209/0.2083, allocations: 208.5 kB / 332.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004143/0.2124, allocations: 2.836 MB / 335 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/0.2125, allocations: 3.953 kB / 335 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.2126, allocations: 91.97 kB / 335.1 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.2128, allocations: 96.05 kB / 335.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003298/0.2161, allocations: 2.288 MB / 337.5 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.2272, allocations: 7.42 MB / 344.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.2292, allocations: 1.316 MB / 346.3 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.2305, allocations: 1.024 MB / 347.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.2307, allocations: 52.95 kB / 347.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.2307, allocations: 43.56 kB / 347.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 4.378e-06/0.2307, allocations: 0 / 347.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.009826/0.2406, allocations: 6.019 MB / 353.4 MB, free: 7.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.2406, allocations: 72.59 kB / 353.5 MB, free: 7.234 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/0.2436, allocations: 2.18 MB / 355.6 MB, free: 5.008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002531/0.2439, allocations: 46.83 kB / 355.7 MB, free: 4.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000682/0.2445, allocations: 1.133 MB / 356.8 MB, free: 3.812 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.2449, allocations: 475.9 kB / 357.3 MB, free: 3.344 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.2452, allocations: 247.5 kB / 357.5 MB, free: 3.094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2453, allocations: 357.9 kB / 357.9 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.2466, allocations: 0.7574 MB / 358.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.2476, allocations: 1.01 MB / 359.6 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.2496, allocations: 1.869 MB / 361.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.2496, allocations: 0 / 361.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003673/0.2533, allocations: 2.739 MB / 364.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.2533, allocations: 8.25 kB / 364.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.2533, allocations: 12 kB / 364.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.2546, allocations: 0.785 MB / 365.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006553/0.2553, allocations: 271.5 kB / 365.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008577/0.2639, allocations: 9.29 MB / 374.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.2651, allocations: 91.83 kB / 374.7 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.2652, allocations: 60.05 kB / 374.8 MB, free: 1.43 MB / 330.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.001304/0.2665, allocations: 0.7471 MB / 375.5 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/0.2669, allocations: 214.6 kB / 375.7 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/0.2702, allocations: 2.472 MB / 378.2 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.2702, allocations: 16 kB / 378.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.2702, allocations: 4 kB / 378.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.2702, allocations: 11.91 kB / 378.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006865/0.2771, allocations: 4.637 MB / 382.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.2771, allocations: 0 / 382.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.2777, allocations: 227.8 kB / 383.1 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.2789, allocations: 0.6404 MB / 383.7 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.835e-05/0.279, allocations: 35.98 kB / 383.8 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006971/0.2859, allocations: 8.314 MB / 392.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.2859, allocations: 4.031 kB / 392.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004799/0.2907, allocations: 3.522 MB / 395.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009739/0.2917, allocations: 378.5 kB / 396 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.292, allocations: 28 kB / 396 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/0.2926, allocations: 83.89 kB / 396.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002677/0.2929, allocations: 120.7 kB / 396.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.815e-05/0.2929, allocations: 35.98 kB / 396.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001834/0.2948, allocations: 1.519 MB / 397.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2948, allocations: 0 / 397.7 MB, free: 9.902 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002062/0.2968, allocations: 0.5352 MB / 398.3 MB, free: 9.367 MB / 362.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.005638/0.3025, allocations: 4.471 MB / 402.7 MB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003122/0.3056, allocations: 2.298 MB / 405 MB, free: 2.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3056, allocations: 0 / 405 MB, free: 2.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.3078, allocations: 1.456 MB / 406.5 MB, free: 1.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/0.3104, allocations: 450.7 kB / 406.9 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03274/0.3432, allocations: 21.09 MB / 428 MB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/0.345, allocations: 1.384 MB / 429.4 MB, free: 9.637 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00127/0.3463, allocations: 387.7 kB / 429.8 MB, free: 9.254 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/0.3475, allocations: 0.9806 MB / 430.8 MB, free: 8.273 MB / 394.7 MB Notification: Performance of SimCode: time 2.184e-06/0.3475, allocations: 0 / 430.8 MB, free: 8.273 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2282/0.5757, allocations: 54.66 MB / 485.4 MB, free: 136.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.436/9.012, allocations: 2.906 kB / 485.4 MB, free: 136.8 MB / 426.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1) [Timeout 52.5] 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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 16.39638090878725]