Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002234/0.002234, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 71.88 kB / 373.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1212, allocations: 53.32 MB / 426.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.2378/0.359, allocations: 9.752 MB / 436.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006561/0.3656, allocations: 3.776 MB / 440.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.3674, allocations: 47.84 kB / 440.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.3696, allocations: 0.7057 MB / 441 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.3728, allocations: 0.917 MB / 441.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.3743, allocations: 478.2 kB / 442.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003954/0.3782, allocations: 2.654 MB / 445 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/0.3804, allocations: 1.386 MB / 446.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.3826, allocations: 1.207 MB / 447.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.3854, allocations: 1.544 MB / 449.2 MB, free: 164 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006295/0.3861, allocations: 305.3 kB / 449.5 MB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.3876, allocations: 0.5732 MB / 450 MB, free: 72 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.3889, allocations: 1.041 MB / 451.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00244/0.3913, allocations: 1.491 MB / 452.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006884/0.3982, allocations: 4.32 MB / 456.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.3982, allocations: 5.469 kB / 456.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3982, allocations: 0 / 456.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001354/0.3983, allocations: 0 / 456.9 MB, free: 12.44 MB / 366.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.008548/0.4069, allocations: 3.265 MB / 460.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.4069, allocations: 8.656 kB / 460.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006212/0.4076, allocations: 353.7 kB / 460.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.409, allocations: 393 kB / 460.9 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003756/0.4128, allocations: 1.734 MB / 462.6 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.4131, allocations: 164.8 kB / 462.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004115/0.4135, allocations: 212.6 kB / 463 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005602/0.4191, allocations: 2.723 MB / 465.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.746e-05/0.4191, allocations: 14.08 kB / 465.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.4193, allocations: 82.22 kB / 465.8 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/0.4195, allocations: 94.8 kB / 465.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004623/0.4241, allocations: 2.299 MB / 468.2 MB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/0.4402, allocations: 8.239 MB / 476.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/0.4432, allocations: 1.535 MB / 478 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.4453, allocations: 1.032 MB / 479 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.4456, allocations: 130.1 kB / 479.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.4456, allocations: 43.56 kB / 479.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.517e-06/0.4456, allocations: 0 / 479.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.0145/0.4601, allocations: 6.485 MB / 485.7 MB, free: 5.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.4602, allocations: 64.72 kB / 485.7 MB, free: 5.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/0.4637, allocations: 2.181 MB / 487.9 MB, free: 3.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.4639, allocations: 45.7 kB / 488 MB, free: 3.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.4649, allocations: 1.149 MB / 489.1 MB, free: 2.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.4654, allocations: 487.9 kB / 489.6 MB, free: 1.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004547/0.4658, allocations: 247.5 kB / 489.8 MB, free: 1.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.4661, allocations: 357.9 kB / 490.2 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.4675, allocations: 0.7574 MB / 490.9 MB, free: 240 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.4691, allocations: 1.009 MB / 491.9 MB, free: 15.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/0.4721, allocations: 1.865 MB / 493.8 MB, free: 13.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.4722, allocations: 11.06 kB / 493.8 MB, free: 13.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005673/0.4778, allocations: 2.75 MB / 496.6 MB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.4779, allocations: 8 kB / 496.6 MB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.4779, allocations: 13.34 kB / 496.6 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/0.4799, allocations: 0.7772 MB / 497.4 MB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.4811, allocations: 267.6 kB / 497.6 MB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/0.4942, allocations: 9.595 MB / 0.4953 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.4958, allocations: 95.83 kB / 0.4954 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.496, allocations: 51.98 kB / 0.4955 GB, free: 15.32 MB / 414.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.001544/0.4975, allocations: 0.7557 MB / 0.4962 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004866/0.498, allocations: 210.6 kB / 0.4964 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004761/0.5028, allocations: 2.481 MB / 0.4988 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.5028, allocations: 16 kB / 0.4988 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.5028, allocations: 8 kB / 0.4989 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.5028, allocations: 7.969 kB / 0.4989 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009699/0.5125, allocations: 4.934 MB / 0.5037 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-06/0.5125, allocations: 0 / 0.5037 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/0.5135, allocations: 223.8 kB / 0.5039 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.5153, allocations: 0.6503 MB / 0.5045 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.5154, allocations: 39.98 kB / 0.5046 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.5259, allocations: 8.729 MB / 0.5131 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5259, allocations: 0 / 0.5131 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00689/0.5328, allocations: 3.533 MB / 0.5165 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/0.5342, allocations: 451.6 kB / 0.517 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/0.5346, allocations: 31.94 kB / 0.517 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009963/0.5356, allocations: 87.89 kB / 0.5171 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/0.5359, allocations: 108.7 kB / 0.5172 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.536, allocations: 35.98 kB / 0.5172 GB, free: 8.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002458/0.5384, allocations: 1.536 MB / 0.5187 GB, free: 6.879 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5384, allocations: 0 / 0.5187 GB, free: 6.879 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002235/0.5407, allocations: 0.5274 MB / 0.5192 GB, free: 6.352 MB / 430.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.008229/0.5489, allocations: 4.447 MB / 0.5236 GB, free: 1.984 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004553/0.5534, allocations: 2.294 MB / 0.5258 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5535, allocations: 1.25 kB / 0.5258 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002657/0.5561, allocations: 1.546 MB / 0.5273 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.5585, allocations: 472 kB / 0.5278 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03815/0.5967, allocations: 21.15 MB / 0.5484 GB, free: 8.039 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002602/0.5993, allocations: 1.963 MB / 0.5504 GB, free: 6.043 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001351/0.6006, allocations: 391.8 kB / 0.5507 GB, free: 5.656 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/0.6021, allocations: 0.9835 MB / 0.5517 GB, free: 4.672 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6021, allocations: 0 / 0.5517 GB, free: 4.672 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/0.716, allocations: 51.74 MB / 0.6022 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.16/23.88, allocations: 8 kB / 0.6022 GB, free: 1.25 MB / 0.4981 GB " [Timeout remaining time 636] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 34.70462664216757]