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.001767/0.001767, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002279/0.002279, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.439/1.439, allocations: 207.6 MB / 235.3 MB, free: 9.992 MB / 190.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: "" <> 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: 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.002739/0.002739, allocations: 55.92 kB / 347.2 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3131, allocations: 49.15 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01011/0.3232, allocations: 9.714 MB / 406.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006869/0.3301, allocations: 3.507 MB / 409.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.3324, allocations: 53.91 kB / 409.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.3348, allocations: 0.7146 MB / 410.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003892/0.3387, allocations: 0.8776 MB / 411.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.3404, allocations: 469.9 kB / 411.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00468/0.345, allocations: 2.678 MB / 414.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.3468, allocations: 1.061 MB / 415.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.3491, allocations: 1.218 MB / 416.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/0.3521, allocations: 1.543 MB / 418.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006319/0.3528, allocations: 305.9 kB / 418.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.3545, allocations: 0.6321 MB / 419.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.3557, allocations: 1.046 MB / 420.2 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.3576, allocations: 1.48 MB / 421.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005634/0.3632, allocations: 4.3 MB / 426 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3632, allocations: 0 / 426 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3632, allocations: 1.188 kB / 426 MB, free: 5.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.64e-05/0.3633, allocations: 4 kB / 426 MB, free: 5.34 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.008442/0.3718, allocations: 3.166 MB / 429.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.3718, allocations: 15.98 kB / 429.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005621/0.3724, allocations: 343.5 kB / 429.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008833/0.3733, allocations: 346.9 kB / 429.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.3765, allocations: 1.564 MB / 431.4 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.3767, allocations: 160.1 kB / 431.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.377, allocations: 212 kB / 431.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004875/0.3819, allocations: 2.735 MB / 434.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/0.3819, allocations: 0 / 434.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.3821, allocations: 84 kB / 434.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.3823, allocations: 100 kB / 434.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004462/0.3867, allocations: 2.296 MB / 437 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.4016, allocations: 8.085 MB / 445 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.4046, allocations: 1.32 MB / 446.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/0.4066, allocations: 1.03 MB / 447.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.4069, allocations: 48.94 kB / 447.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/0.4069, allocations: 43.56 kB / 447.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.577e-06/0.4069, allocations: 0 / 447.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01365/0.4206, allocations: 6.02 MB / 453.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.4206, allocations: 68.72 kB / 453.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.424, allocations: 2.152 MB / 455.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000182/0.4241, allocations: 53.64 kB / 455.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.4252, allocations: 1.141 MB / 456.9 MB, free: 6.059 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004632/0.4256, allocations: 483.9 kB / 457.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/0.4261, allocations: 239.6 kB / 457.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4262, allocations: 361.9 kB / 458 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.4276, allocations: 0.7535 MB / 458.7 MB, free: 4.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.4292, allocations: 1.017 MB / 459.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003018/0.4322, allocations: 1.858 MB / 461.6 MB, free: 1.176 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4322, allocations: 0 / 461.6 MB, free: 1.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005537/0.4378, allocations: 2.75 MB / 464.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.4378, allocations: 8 kB / 464.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.4378, allocations: 8 kB / 464.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/0.4399, allocations: 0.7853 MB / 465.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.4411, allocations: 271.5 kB / 465.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.4542, allocations: 9.41 MB / 474.8 MB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.4557, allocations: 95.95 kB / 474.9 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.4559, allocations: 51.98 kB / 475 MB, free: 3.547 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.001431/0.4573, allocations: 0.7355 MB / 475.7 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/0.4577, allocations: 210.7 kB / 475.9 MB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/0.4625, allocations: 2.473 MB / 478.4 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/0.4625, allocations: 20 kB / 478.4 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.4626, allocations: 4 kB / 478.4 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.4626, allocations: 7.984 kB / 478.4 MB, free: 68 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009498/0.4721, allocations: 4.925 MB / 483.3 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.4721, allocations: 4 kB / 483.4 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.4731, allocations: 211.9 kB / 483.6 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.4749, allocations: 0.655 MB / 484.2 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.475, allocations: 35.97 kB / 484.2 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.4853, allocations: 8.383 MB / 492.6 MB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.4853, allocations: 7.938 kB / 492.6 MB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006591/0.4919, allocations: 3.533 MB / 496.2 MB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.4931, allocations: 378.5 kB / 496.5 MB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.4933, allocations: 27.94 kB / 496.6 MB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009396/0.4942, allocations: 87.89 kB / 496.7 MB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.4945, allocations: 108.8 kB / 496.8 MB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.4946, allocations: 35.98 kB / 496.8 MB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002274/0.4969, allocations: 1.519 MB / 498.3 MB, free: 11.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4969, allocations: 0 / 498.3 MB, free: 11.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002/0.4989, allocations: 0.5273 MB / 498.8 MB, free: 11.13 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.007896/0.5068, allocations: 4.452 MB / 0.4915 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004407/0.5112, allocations: 2.302 MB / 0.4937 GB, free: 4.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5112, allocations: 0 / 0.4937 GB, free: 4.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002738/0.5139, allocations: 1.468 MB / 0.4952 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.5162, allocations: 450.2 kB / 0.4956 GB, free: 2.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03734/0.5536, allocations: 21.11 MB / 0.5162 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002072/0.5557, allocations: 1.955 MB / 0.5181 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001224/0.5569, allocations: 395.6 kB / 0.5185 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/0.5582, allocations: 0.9834 MB / 0.5195 GB, free: 9.422 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5582, allocations: 0 / 0.5195 GB, free: 9.422 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2991/0.8573, allocations: 52.59 MB / 0.5708 GB, free: 152.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.82/25.68, allocations: 8.078 kB / 0.5708 GB, free: 152.1 MB / 478.1 MB " [Timeout remaining time 634] (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/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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 36.323069332866]