Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.00161/0.00161, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001862/0.001862, allocations: 212.6 kB / 24.51 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 47.92 kB / 378.5 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2435, allocations: 53.37 MB / 431.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01106/0.2545, allocations: 8.597 MB / 440.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00669/0.2612, allocations: 3.553 MB / 444.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.2626, allocations: 63.62 kB / 444.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.2645, allocations: 0.6559 MB / 444.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.2672, allocations: 0.9324 MB / 445.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.2683, allocations: 475.1 kB / 446.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003278/0.2716, allocations: 2.666 MB / 448.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.2731, allocations: 1.113 MB / 449.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.2748, allocations: 1.234 MB / 451.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.2771, allocations: 1.549 MB / 452.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005337/0.2776, allocations: 307.9 kB / 453 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.2788, allocations: 0.562 MB / 453.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.2799, allocations: 1.048 MB / 454.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.2813, allocations: 1.194 MB / 455.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004829/0.2862, allocations: 4.34 MB / 460.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2862, allocations: 0 / 460.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2862, allocations: 0 / 460.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.593e-05/0.2863, allocations: 0 / 460.2 MB, free: 10.18 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.006229/0.2925, allocations: 3.196 MB / 463.4 MB, free: 6.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.2925, allocations: 12.03 kB / 463.4 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000102/0.2926, allocations: 70 kB / 463.4 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000551/0.2932, allocations: 367.9 kB / 463.8 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.2944, allocations: 378.8 kB / 464.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.2973, allocations: 1.673 MB / 465.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.2975, allocations: 168.1 kB / 466 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003546/0.2978, allocations: 223.9 kB / 466.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004892/0.3027, allocations: 2.864 MB / 469.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.845e-05/0.3028, allocations: 15.89 kB / 469.1 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.303, allocations: 87.98 kB / 469.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.3031, allocations: 100.1 kB / 469.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004076/0.3072, allocations: 2.327 MB / 471.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.3207, allocations: 7.537 MB / 479.2 MB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/0.3237, allocations: 1.395 MB / 480.6 MB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/0.3258, allocations: 1.111 MB / 481.7 MB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.326, allocations: 53.27 kB / 481.7 MB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.3261, allocations: 51.88 kB / 481.8 MB, free: 4.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 3.978e-06/0.3261, allocations: 0 / 481.8 MB, free: 4.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.03838/0.3644, allocations: 13.83 MB / 495.6 MB, free: 6.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/0.3645, allocations: 81.34 kB / 495.7 MB, free: 6.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/0.3683, allocations: 2.177 MB / 497.9 MB, free: 3.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002508/0.3685, allocations: 61.7 kB / 497.9 MB, free: 3.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.3696, allocations: 1.139 MB / 499.1 MB, free: 2.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008059/0.3704, allocations: 0.7629 MB / 499.8 MB, free: 1.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007861/0.3712, allocations: 359.5 kB / 0.4885 GB, free: 1.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3713, allocations: 301.1 kB / 0.4887 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/0.3735, allocations: 1.179 MB / 0.4899 GB, free: 60 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/0.3758, allocations: 1.475 MB / 0.4913 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004724/0.3806, allocations: 2.808 MB / 0.4941 GB, free: 11.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.3806, allocations: 4 kB / 0.4941 GB, free: 11.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.007835/0.3884, allocations: 4.025 MB / 0.498 GB, free: 7.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.3884, allocations: 12.03 kB / 0.498 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.3885, allocations: 4 kB / 0.498 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/0.3914, allocations: 1.085 MB / 0.4991 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.3933, allocations: 403.4 kB / 0.4995 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/0.4118, allocations: 14.45 MB / 0.5136 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.4137, allocations: 143.9 kB / 0.5137 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003809/0.4141, allocations: 84.09 kB / 0.5138 GB, free: 6.902 MB / 430.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 (190): * Single equations (assignments): 182 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,6,100.0%), (1,6,100.0%), (2,13,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001698/0.4158, allocations: 0.8074 MB / 0.5146 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007305/0.4165, allocations: 242.5 kB / 0.5148 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007552/0.4241, allocations: 3.86 MB / 0.5186 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.898e-05/0.4241, allocations: 23.98 kB / 0.5186 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/0.4242, allocations: 15.94 kB / 0.5186 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.4242, allocations: 7.969 kB / 0.5186 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.4381, allocations: 6.818 MB / 0.5253 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.4381, allocations: 0 / 0.5253 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.4399, allocations: 367.4 kB / 0.5256 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/0.4426, allocations: 0.9586 MB / 0.5266 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002227/0.4428, allocations: 55.95 kB / 0.5266 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2317/0.6745, allocations: 13.51 MB / 0.5398 GB, free: 98.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6745, allocations: 2.75 kB / 0.5398 GB, free: 98.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009478/0.684, allocations: 5.616 MB / 0.5453 GB, free: 97.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.6852, allocations: 497.7 kB / 0.5458 GB, free: 96.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/0.6856, allocations: 48.44 kB / 0.5458 GB, free: 96.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.6869, allocations: 135.7 kB / 0.546 GB, free: 96.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004672/0.6874, allocations: 178.5 kB / 0.5461 GB, free: 96.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.6875, allocations: 78.44 kB / 0.5462 GB, free: 96.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001668/0.6892, allocations: 1.531 MB / 0.5477 GB, free: 96.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6892, allocations: 0 / 0.5477 GB, free: 96.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002213/0.6914, allocations: 0.6897 MB / 0.5484 GB, free: 96.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (162): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,6,100.0%), (1,6,100.0%), (2,13,100.0%), (2,12,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.009515/0.7009, allocations: 6.704 MB / 0.5549 GB, free: 92.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005391/0.7063, allocations: 3.693 MB / 0.5585 GB, free: 89.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.7063, allocations: 0 / 0.5585 GB, free: 89.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003195/0.7095, allocations: 2.388 MB / 0.5609 GB, free: 86.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/0.7118, allocations: 476.3 kB / 0.5613 GB, free: 86.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03282/0.7447, allocations: 25.55 MB / 0.5863 GB, free: 61.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.7459, allocations: 1.524 MB / 0.5878 GB, free: 59.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001331/0.7473, allocations: 0.4942 MB / 0.5882 GB, free: 59.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.7485, allocations: 1.097 MB / 0.5893 GB, free: 57.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.402e-06/0.7485, allocations: 0 / 0.5893 GB, free: 57.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/0.8545, allocations: 66.66 MB / 0.6544 GB, free: 7.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.85/24.7, allocations: 15.27 kB / 0.6544 GB, free: 7.762 MB / 462.1 MB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 652] Reference file matches [Calling sys.exit(0), Time elapsed: 44.18913402000908]