Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.001534/0.001534, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002209/0.002209, allocations: 211 kB / 24.53 MB, free: 4.07 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.424/1.424, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 59.91 kB / 378.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3043, allocations: 53.41 MB / 432 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.02766/0.3319, allocations: 21.7 MB / 453.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.019/0.3509, allocations: 6.839 MB / 460.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006184/0.3571, allocations: 171.2 kB / 460.7 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01861/0.3757, allocations: 6.917 MB / 467.6 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.3866, allocations: 2.876 MB / 470.5 MB, free: 36 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005622/0.3922, allocations: 1.62 MB / 472.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01639/0.4086, allocations: 9.184 MB / 481.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02579/0.4344, allocations: 11.05 MB / 492.4 MB, free: 10.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009512/0.4439, allocations: 4.758 MB / 497.1 MB, free: 5.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01084/0.4547, allocations: 5.249 MB / 0.4906 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004579/0.4593, allocations: 1.359 MB / 0.4919 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006656/0.4659, allocations: 1.699 MB / 0.4936 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005421/0.4714, allocations: 2.619 MB / 0.4961 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01224/0.4836, allocations: 4.966 MB / 0.501 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02896/0.5126, allocations: 18.26 MB / 0.5188 GB, free: 3.004 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.5126, allocations: 0 / 0.5188 GB, free: 3.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5126, allocations: 0 / 0.5188 GB, free: 3.004 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005254/0.5131, allocations: 0 / 0.5188 GB, free: 3.004 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.03631/0.5494, allocations: 10.67 MB / 0.5292 GB, free: 8.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5495, allocations: 12.03 kB / 0.5292 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002691/0.5497, allocations: 203.5 kB / 0.5294 GB, free: 8.043 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004784/0.5545, allocations: 1.09 MB / 0.5305 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03416/0.5887, allocations: 5.903 MB / 0.5363 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4898/1.078, allocations: 5.768 MB / 0.5419 GB, free: 85.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005329/1.079, allocations: 0.5568 MB / 0.5424 GB, free: 85.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003702/1.083, allocations: 0.7279 MB / 0.5432 GB, free: 85.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03246/1.115, allocations: 12.89 MB / 0.5557 GB, free: 79.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000374/1.116, allocations: 13.55 kB / 0.5558 GB, free: 79.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002742/1.118, allocations: 312.1 kB / 0.556 GB, free: 79.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005312/1.119, allocations: 496.7 kB / 0.5565 GB, free: 79.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/1.143, allocations: 12.62 MB / 0.5689 GB, free: 69.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07125/1.215, allocations: 40.54 MB / 0.6084 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/1.229, allocations: 8.614 MB / 0.6169 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005565/1.234, allocations: 2.918 MB / 0.6197 GB, free: 18.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004698/1.235, allocations: 122 kB / 0.6198 GB, free: 18.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.701e-05/1.235, allocations: 77.78 kB / 0.6199 GB, free: 17.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=410): time 7.113e-06/1.235, allocations: 0 / 0.6199 GB, free: 17.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=415): time 0.03626/1.271, allocations: 16.94 MB / 0.6364 GB, free: 1.098 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/1.271, allocations: 94.67 kB / 0.6365 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004693/1.276, allocations: 2.84 MB / 0.6393 GB, free: 14.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007753/1.276, allocations: 93.7 kB / 0.6394 GB, free: 14.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002836/1.279, allocations: 3.148 MB / 0.6425 GB, free: 10.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002365/1.282, allocations: 1.464 MB / 0.6439 GB, free: 9.438 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/1.283, allocations: 0.9505 MB / 0.6448 GB, free: 8.477 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/1.284, allocations: 305.1 kB / 0.6451 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004572/1.288, allocations: 2.508 MB / 0.6476 GB, free: 5.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007154/1.295, allocations: 4.113 MB / 0.6516 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/1.308, allocations: 7.206 MB / 0.6586 GB, free: 8.898 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.897e-05/1.308, allocations: 12 kB / 0.6586 GB, free: 8.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01773/1.326, allocations: 8.025 MB / 0.6665 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.273e-05/1.326, allocations: 24.88 kB / 0.6665 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/1.326, allocations: 55.94 kB / 0.6665 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003885/1.33, allocations: 1.241 MB / 0.6678 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/1.335, allocations: 1.135 MB / 0.6689 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02029/1.355, allocations: 11.03 MB / 0.6796 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005594/1.361, allocations: 279.7 kB / 0.6799 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00172/1.362, allocations: 232 kB / 0.6801 GB, free: 2.617 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * 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,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01067/1.373, allocations: 2.955 MB / 0.683 GB, free: 15.65 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001777/1.375, allocations: 365.7 kB / 0.6834 GB, free: 15.29 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/1.392, allocations: 6.667 MB / 0.6899 GB, free: 8.582 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.975e-05/1.392, allocations: 48 kB / 0.6899 GB, free: 8.535 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-05/1.392, allocations: 8 kB / 0.6899 GB, free: 8.527 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.819e-05/1.392, allocations: 23.91 kB / 0.6899 GB, free: 8.504 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03244/1.425, allocations: 14.87 MB / 0.7045 GB, free: 9.555 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/1.425, allocations: 4 kB / 0.7045 GB, free: 9.551 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/1.428, allocations: 0.7607 MB / 0.7052 GB, free: 8.789 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00356/1.432, allocations: 1.12 MB / 0.7063 GB, free: 7.66 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006682/1.432, allocations: 99.97 kB / 0.7064 GB, free: 7.562 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/1.448, allocations: 9.966 MB / 0.7161 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.448, allocations: 7.938 kB / 0.7161 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/1.466, allocations: 10.01 MB / 0.7259 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003131/1.469, allocations: 0.8879 MB / 0.7268 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009769/1.47, allocations: 84 kB / 0.7269 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002752/1.472, allocations: 211.7 kB / 0.7271 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000789/1.473, allocations: 311.1 kB / 0.7274 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003785/1.474, allocations: 132 kB / 0.7275 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003797/1.477, allocations: 1.959 MB / 0.7294 GB, free: 15.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.477, allocations: 0 / 0.7294 GB, free: 15.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005803/1.483, allocations: 1.391 MB / 0.7308 GB, free: 14.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,loadInertia.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 (398): * Single equations (assignments): 396 * Array equations: 0 * 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,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0202/1.503, allocations: 10.73 MB / 0.7412 GB, free: 3.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2764/1.78, allocations: 6.485 MB / 0.7476 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.78, allocations: 4.594 kB / 0.7476 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007399/1.787, allocations: 3.323 MB / 0.7508 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00641/1.794, allocations: 0.8397 MB / 0.7517 GB, free: 190.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07398/1.868, allocations: 47.21 MB / 0.7978 GB, free: 154 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004069/1.872, allocations: 5.081 MB / 0.8027 GB, free: 148.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003814/1.875, allocations: 1.622 MB / 0.8043 GB, free: 147.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003074/1.879, allocations: 2.678 MB / 0.8069 GB, free: 144.5 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/1.879, allocations: 0 / 0.8069 GB, free: 144.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1862/2.065, allocations: 116.3 MB / 0.9205 GB, free: 28.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.52/21.59, allocations: 17.97 kB / 0.9205 GB, free: 28.69 MB / 0.545 GB " [Timeout remaining time 638] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 654] Reference file matches [Calling sys.exit(0), Time elapsed: 35.66184118797537]