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.001367/0.001367, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.00151/0.00151, allocations: 209.2 kB / 24.52 MB, free: 3.91 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.449/1.449, allocations: 230.5 MB / 258.2 MB, free: 7.777 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 59.91 kB / 378.5 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2369, allocations: 53.41 MB / 432 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01243/0.2493, allocations: 8.608 MB / 440.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007436/0.2568, allocations: 3.552 MB / 444.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.2583, allocations: 63.56 kB / 444.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.2605, allocations: 0.6521 MB / 444.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003415/0.2639, allocations: 0.9245 MB / 445.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.2655, allocations: 483.1 kB / 446.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003905/0.2694, allocations: 2.666 MB / 448.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.2716, allocations: 1.116 MB / 450 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002146/0.2737, allocations: 1.226 MB / 451.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.2765, allocations: 1.553 MB / 452.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007699/0.2772, allocations: 308 kB / 453.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.2788, allocations: 0.5659 MB / 453.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001453/0.2803, allocations: 1.04 MB / 454.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002116/0.2824, allocations: 1.197 MB / 455.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005531/0.2879, allocations: 4.343 MB / 460.2 MB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2879, allocations: 0 / 460.2 MB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2879, allocations: 0 / 460.2 MB, free: 9.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001261/0.288, allocations: 4 kB / 460.2 MB, free: 9.977 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.008066/0.2961, allocations: 3.185 MB / 463.4 MB, free: 6.738 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2962, allocations: 8.031 kB / 463.4 MB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001248/0.2963, allocations: 81.92 kB / 463.5 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009566/0.2972, allocations: 363.8 kB / 463.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.2988, allocations: 382.8 kB / 464.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/0.3027, allocations: 1.674 MB / 465.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.3029, allocations: 164.1 kB / 466.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005809/0.3035, allocations: 219.9 kB / 466.3 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005668/0.3091, allocations: 2.872 MB / 469.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-05/0.3092, allocations: 7.953 kB / 469.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.3094, allocations: 88 kB / 469.3 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.3095, allocations: 100.1 kB / 469.3 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004432/0.314, allocations: 2.339 MB / 471.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.3287, allocations: 7.525 MB / 479.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.3319, allocations: 1.395 MB / 480.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/0.3341, allocations: 1.1 MB / 481.7 MB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002351/0.3344, allocations: 49.28 kB / 481.8 MB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.985e-05/0.3344, allocations: 51.81 kB / 481.8 MB, free: 3.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 4.208e-06/0.3344, allocations: 0 / 481.8 MB, free: 3.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.04067/0.3751, allocations: 13.85 MB / 495.7 MB, free: 6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.3752, allocations: 81.34 kB / 495.7 MB, free: 5.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/0.379, allocations: 2.177 MB / 497.9 MB, free: 3.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.3793, allocations: 61.7 kB / 498 MB, free: 3.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.3803, allocations: 1.143 MB / 499.1 MB, free: 2.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008285/0.3811, allocations: 0.7668 MB / 499.9 MB, free: 1.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007845/0.3819, allocations: 359.5 kB / 0.4885 GB, free: 1.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3821, allocations: 301.1 kB / 0.4888 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.3844, allocations: 1.179 MB / 0.4899 GB, free: 15.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.387, allocations: 1.479 MB / 0.4914 GB, free: 14.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0051/0.3921, allocations: 2.804 MB / 0.4941 GB, free: 11.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.3921, allocations: 0 / 0.4941 GB, free: 11.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008599/0.4007, allocations: 4.025 MB / 0.4981 GB, free: 7.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.4007, allocations: 10.19 kB / 0.4981 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.4008, allocations: 8 kB / 0.4981 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00306/0.4038, allocations: 1.082 MB / 0.4991 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.4058, allocations: 411.3 kB / 0.4995 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.425, allocations: 14.45 MB / 0.5136 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.4271, allocations: 131.8 kB / 0.5138 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003881/0.4275, allocations: 87.91 kB / 0.5138 GB, free: 6.711 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.001869/0.4293, allocations: 0.8059 MB / 0.5146 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000775/0.4301, allocations: 246.4 kB / 0.5149 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007976/0.4381, allocations: 3.86 MB / 0.5186 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-05/0.4381, allocations: 27.94 kB / 0.5187 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.096e-05/0.4382, allocations: 8 kB / 0.5187 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/0.4382, allocations: 15.95 kB / 0.5187 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.4539, allocations: 6.814 MB / 0.5253 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/0.4539, allocations: 4 kB / 0.5253 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/0.4558, allocations: 359.7 kB / 0.5257 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/0.4587, allocations: 0.9522 MB / 0.5266 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/0.4589, allocations: 63.95 kB / 0.5267 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2603/0.7192, allocations: 13.51 MB / 0.5399 GB, free: 97.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.7192, allocations: 2.125 kB / 0.5399 GB, free: 97.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.7303, allocations: 5.615 MB / 0.5454 GB, free: 96.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/0.7318, allocations: 0.4884 MB / 0.5458 GB, free: 95.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006719/0.7324, allocations: 45.52 kB / 0.5459 GB, free: 95.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/0.7341, allocations: 129 kB / 0.546 GB, free: 95.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/0.7347, allocations: 188.9 kB / 0.5462 GB, free: 95.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/0.7349, allocations: 69.66 kB / 0.5462 GB, free: 95.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002325/0.7372, allocations: 1.538 MB / 0.5478 GB, free: 95.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7372, allocations: 0 / 0.5478 GB, free: 95.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002818/0.74, allocations: 0.6825 MB / 0.5484 GB, free: 95.24 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.009957/0.75, allocations: 6.707 MB / 0.555 GB, free: 91.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005545/0.7555, allocations: 3.685 MB / 0.5586 GB, free: 88.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.7555, allocations: 7.938 kB / 0.5586 GB, free: 88.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003437/0.7589, allocations: 2.384 MB / 0.5609 GB, free: 85.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.7614, allocations: 482.4 kB / 0.5614 GB, free: 85.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03496/0.7964, allocations: 25.54 MB / 0.5863 GB, free: 60.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.7977, allocations: 1.524 MB / 0.5878 GB, free: 58.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001415/0.7991, allocations: 0.4908 MB / 0.5883 GB, free: 57.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.8004, allocations: 1.101 MB / 0.5893 GB, free: 56.85 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.8004, allocations: 4 kB / 0.5894 GB, free: 56.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/0.9329, allocations: 66.64 MB / 0.6544 GB, free: 6.625 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.25/25.18, allocations: 8 kB / 0.6544 GB, free: 6.617 MB / 462.1 MB " [Timeout remaining time 635] (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/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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 651] Reference file matches [Calling sys.exit(0), Time elapsed: 46.53907321591396]