Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.001471/0.001471, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001766/0.001766, allocations: 214.8 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.473/1.473, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 59.91 kB / 378.5 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2642, allocations: 53.4 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02737/0.2916, allocations: 23.19 MB / 455.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.3097, allocations: 7.826 MB / 463 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005324/0.3151, allocations: 238.8 kB / 463.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02157/0.3366, allocations: 8.745 MB / 471.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.3485, allocations: 3.404 MB / 475.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00616/0.3547, allocations: 1.818 MB / 477.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01859/0.3733, allocations: 12.35 MB / 489.5 MB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03453/0.4078, allocations: 16.04 MB / 0.4937 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.4189, allocations: 6.636 MB / 0.5002 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/0.4314, allocations: 7.301 MB / 0.5073 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005817/0.4372, allocations: 1.84 MB / 0.5091 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008355/0.4456, allocations: 2.226 MB / 0.5113 GB, free: 10.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006951/0.4525, allocations: 3.624 MB / 0.5148 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01343/0.466, allocations: 5.378 MB / 0.5201 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4566/0.9225, allocations: 24.92 MB / 0.5444 GB, free: 42.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.9225, allocations: 0 / 0.5444 GB, free: 42.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.9225, allocations: 1.469 kB / 0.5444 GB, free: 42.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006979/0.9232, allocations: 0.5 kB / 0.5444 GB, free: 42.61 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.04732/0.9706, allocations: 14.68 MB / 0.5588 GB, free: 38.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.9706, allocations: 13.09 kB / 0.5588 GB, free: 38.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004305/0.9711, allocations: 331.4 kB / 0.5591 GB, free: 38.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007922/0.979, allocations: 1.791 MB / 0.5608 GB, free: 38.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04545/1.024, allocations: 8.435 MB / 0.5691 GB, free: 35.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/1.043, allocations: 7.773 MB / 0.5767 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009648/1.044, allocations: 0.8009 MB / 0.5774 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006311/1.05, allocations: 1.061 MB / 0.5785 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04256/1.093, allocations: 18.58 MB / 0.5966 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003693/1.093, allocations: 14.38 kB / 0.5966 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004882/1.098, allocations: 448.1 kB / 0.5971 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006048/1.099, allocations: 0.6672 MB / 0.5977 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03441/1.133, allocations: 17.6 MB / 0.6149 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1051/1.238, allocations: 52.23 MB / 0.6659 GB, free: 5.898 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02429/1.262, allocations: 12.7 MB / 0.6783 GB, free: 11.27 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007149/1.27, allocations: 3.749 MB / 0.682 GB, free: 7.504 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006058/1.27, allocations: 132 kB / 0.6821 GB, free: 7.371 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/1.27, allocations: 86.64 kB / 0.6822 GB, free: 7.273 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=520): time 1.324e-05/1.27, allocations: 0 / 0.6822 GB, free: 7.273 MB / 0.5138 GB Notification: Performance of matching and sorting (n=599): time 0.09065/1.361, allocations: 34.1 MB / 0.7155 GB, free: 5.066 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/1.361, allocations: 112.1 kB / 0.7156 GB, free: 4.941 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00676/1.368, allocations: 4.188 MB / 0.7197 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009659/1.369, allocations: 117.7 kB / 0.7198 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003936/1.373, allocations: 4.687 MB / 0.7244 GB, free: 11.95 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002764/1.376, allocations: 2.117 MB / 0.7264 GB, free: 9.855 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002785/1.378, allocations: 1.474 MB / 0.7279 GB, free: 8.375 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.378, allocations: 301.1 kB / 0.7282 GB, free: 8.078 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006954/1.385, allocations: 3.931 MB / 0.732 GB, free: 4.145 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009551/1.395, allocations: 6.426 MB / 0.7383 GB, free: 12.66 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01689/1.412, allocations: 11.14 MB / 0.7491 GB, free: 0.6953 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.296e-05/1.412, allocations: 20 kB / 0.7492 GB, free: 0.6758 MB / 0.5763 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.2813/1.693, allocations: 13.12 MB / 0.762 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.693, allocations: 40.81 kB / 0.762 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002113/1.694, allocations: 77.41 kB / 0.7621 GB, free: 208.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007618/1.701, allocations: 2.898 MB / 0.7649 GB, free: 207.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005818/1.707, allocations: 1.625 MB / 0.7665 GB, free: 207.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0284/1.735, allocations: 23.54 MB / 0.7895 GB, free: 190.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005822/1.741, allocations: 421.3 kB / 0.7899 GB, free: 190.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001905/1.743, allocations: 359.7 kB / 0.7902 GB, free: 190.2 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (846): * Single equations (assignments): 843 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,56,41.8%), (14,56,38.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007526/1.751, allocations: 4.254 MB / 0.7944 GB, free: 186.6 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.752, allocations: 0.5188 MB / 0.7949 GB, free: 186.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/1.768, allocations: 10.67 MB / 0.8053 GB, free: 177 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01321/1.781, allocations: 9.137 MB / 0.8142 GB, free: 167.8 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/1.781, allocations: 24 kB / 0.8143 GB, free: 167.8 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.193e-05/1.781, allocations: 31.88 kB / 0.8143 GB, free: 167.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03169/1.813, allocations: 22.06 MB / 0.8358 GB, free: 145.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/1.813, allocations: 4 kB / 0.8358 GB, free: 145.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003694/1.816, allocations: 0.9596 MB / 0.8368 GB, free: 144.7 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006364/1.823, allocations: 2.593 MB / 0.8393 GB, free: 142.1 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000938/1.824, allocations: 139.9 kB / 0.8394 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02239/1.846, allocations: 19.74 MB / 0.8587 GB, free: 122 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.846, allocations: 4 kB / 0.8587 GB, free: 122 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02093/1.867, allocations: 15.21 MB / 0.8736 GB, free: 106.6 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003221/1.87, allocations: 1.286 MB / 0.8748 GB, free: 105.3 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/1.871, allocations: 104 kB / 0.8749 GB, free: 105.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/1.874, allocations: 283.8 kB / 0.8752 GB, free: 104.9 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009313/1.875, allocations: 445.4 kB / 0.8756 GB, free: 104.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003413/1.876, allocations: 172 kB / 0.8758 GB, free: 104.3 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003331/1.879, allocations: 2.823 MB / 0.8785 GB, free: 101.5 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/1.879, allocations: 0 / 0.8785 GB, free: 101.5 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.006589/1.886, allocations: 2.142 MB / 0.8806 GB, free: 99.35 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (vSourceQS.plug_p.reference.gamma,speed.phi) * 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 (511): * Single equations (assignments): 508 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,50,41.3%), (14,56,37.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01994/1.906, allocations: 16 MB / 0.8963 GB, free: 83.17 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01541/1.921, allocations: 10.35 MB / 0.9064 GB, free: 72.77 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.921, allocations: 448 / 0.9064 GB, free: 72.77 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008487/1.929, allocations: 5.247 MB / 0.9115 GB, free: 67.48 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005434/1.935, allocations: 1.158 MB / 0.9126 GB, free: 66.36 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2972/2.232, allocations: 70.59 MB / 0.9816 GB, free: 205 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008774/2.241, allocations: 6.766 MB / 0.9882 GB, free: 204.5 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006763/2.248, allocations: 2.348 MB / 0.9905 GB, free: 204.4 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005515/2.253, allocations: 3.977 MB / 0.9943 GB, free: 203.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.774e-06/2.253, allocations: 0 / 0.9943 GB, free: 203.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2076/2.461, allocations: 172.7 MB / 1.163 GB, free: 47.46 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.79/27.25, allocations: 11.98 kB / 1.163 GB, free: 47.45 MB / 0.5763 GB " [Timeout remaining time 632] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 31.07282378699165]