Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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_withLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 59.59 kB / 307.1 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.0828, allocations: 50.54 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.1628/0.2456, allocations: 24.88 MB / 382.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.2587, allocations: 8.051 MB / 390.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003709/0.2625, allocations: 186.2 kB / 390.7 MB, free: 3.148 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01593/0.2785, allocations: 8.366 MB / 399.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008937/0.2874, allocations: 3.024 MB / 402.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.2916, allocations: 1.832 MB / 404 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0115/0.3031, allocations: 11.13 MB / 415.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02644/0.3296, allocations: 23.5 MB / 438.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007075/0.3367, allocations: 5.888 MB / 444.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007913/0.3446, allocations: 6.573 MB / 451 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002314/0.347, allocations: 1.715 MB / 452.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00449/0.3515, allocations: 2.16 MB / 454.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002728/0.3542, allocations: 3.351 MB / 458.3 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007376/0.3616, allocations: 6.358 MB / 464.6 MB, free: 1.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01938/0.381, allocations: 23.03 MB / 487.6 MB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.381, allocations: 8 kB / 487.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.381, allocations: 0 / 487.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004596/0.3815, allocations: 0 / 487.7 MB, free: 10.04 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2685 * Number of variables: 2685 Notification: Performance of Generate backend data structure: time 0.03585/0.4174, allocations: 13.47 MB / 0.4894 GB, free: 12.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4174, allocations: 12.03 kB / 0.4894 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004086/0.4215, allocations: 1.62 MB / 0.491 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03241/0.454, allocations: 6.235 MB / 0.4971 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/0.4654, allocations: 7.077 MB / 0.504 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005318/0.466, allocations: 0.7265 MB / 0.5047 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/0.4681, allocations: 0.9491 MB / 0.5056 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02529/0.4934, allocations: 16.17 MB / 0.5214 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/0.4936, allocations: 11.91 kB / 0.5214 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009033/0.4945, allocations: 404 kB / 0.5218 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004449/0.495, allocations: 0.5554 MB / 0.5223 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2734/0.7683, allocations: 15.12 MB / 0.5371 GB, free: 125.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08558/0.8539, allocations: 53.18 MB / 0.589 GB, free: 90.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01525/0.8692, allocations: 20.1 MB / 0.6087 GB, free: 71.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004614/0.8739, allocations: 3.63 MB / 0.6122 GB, free: 67.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004334/0.8743, allocations: 265.3 kB / 0.6125 GB, free: 67.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.8744, allocations: 90 kB / 0.6126 GB, free: 67.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=447): time 5.971e-06/0.8744, allocations: 0 / 0.6126 GB, free: 67.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.04678/0.9212, allocations: 20.63 MB / 0.6327 GB, free: 46.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.9213, allocations: 102.9 kB / 0.6328 GB, free: 46.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005336/0.9266, allocations: 4.513 MB / 0.6372 GB, free: 42.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004955/0.9271, allocations: 93.7 kB / 0.6373 GB, free: 42.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.9288, allocations: 4.214 MB / 0.6414 GB, free: 37.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001062/0.9299, allocations: 1.535 MB / 0.6429 GB, free: 36.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/0.9313, allocations: 1.188 MB / 0.6441 GB, free: 35.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.675e-05/0.9314, allocations: 301.1 kB / 0.6444 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003491/0.9349, allocations: 3.073 MB / 0.6474 GB, free: 31.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004167/0.939, allocations: 5.215 MB / 0.6525 GB, free: 25.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008756/0.9478, allocations: 8.864 MB / 0.6611 GB, free: 15.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.209e-05/0.9479, allocations: 20 kB / 0.6611 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01357/0.9615, allocations: 9.862 MB / 0.6708 GB, free: 5.875 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.9615, allocations: 36 kB / 0.6708 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/0.9617, allocations: 68 kB / 0.6709 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003276/0.9649, allocations: 1.419 MB / 0.6722 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004257/0.9692, allocations: 1.388 MB / 0.6736 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.9848, allocations: 12.68 MB / 0.686 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/0.989, allocations: 355.4 kB / 0.6863 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/0.9895, allocations: 296 kB / 0.6866 GB, free: 5.379 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (720): * Single equations (assignments): 717 * 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 {(1,6,100.0%), (14,54,45.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00548/0.995, allocations: 3.881 MB / 0.6904 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007825/0.9958, allocations: 462.3 kB / 0.6908 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/1.008, allocations: 8.51 MB / 0.6991 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009332/1.018, allocations: 6.251 MB / 0.7053 GB, free: 2.191 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/1.018, allocations: 12 kB / 0.7053 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.825e-05/1.018, allocations: 23.91 kB / 0.7053 GB, free: 2.156 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1983/1.216, allocations: 17.68 MB / 0.7226 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/1.216, allocations: 7.75 kB / 0.7226 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/1.219, allocations: 0.8051 MB / 0.7233 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003147/1.222, allocations: 1.291 MB / 0.7246 GB, free: 142.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/1.222, allocations: 111.6 kB / 0.7247 GB, free: 142.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/1.234, allocations: 11.58 MB / 0.736 GB, free: 135.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.234, allocations: 15.84 kB / 0.736 GB, free: 135.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.247, allocations: 11.18 MB / 0.747 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/1.249, allocations: 1.095 MB / 0.748 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005051/1.249, allocations: 90.06 kB / 0.7481 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/1.251, allocations: 239.6 kB / 0.7483 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005182/1.252, allocations: 324 kB / 0.7486 GB, free: 130.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.252, allocations: 136.5 kB / 0.7488 GB, free: 130.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003229/1.255, allocations: 3.113 MB / 0.7518 GB, free: 129.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.255, allocations: 0 / 0.7518 GB, free: 129.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004229/1.259, allocations: 1.726 MB / 0.7535 GB, free: 127.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 4 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,PIQS.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 (417): * Single equations (assignments): 414 * 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 {(1,6,100.0%), (14,54,43.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/1.272, allocations: 12.21 MB / 0.7654 GB, free: 116.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02757/1.3, allocations: 14.97 MB / 0.7801 GB, free: 103 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.964e-06/1.3, allocations: 8.125 kB / 0.7801 GB, free: 103 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004831/1.305, allocations: 3.926 MB / 0.7839 GB, free: 99.51 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/1.309, allocations: 1.062 MB / 0.7849 GB, free: 98.55 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06909/1.378, allocations: 72.56 MB / 0.8558 GB, free: 20.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005049/1.383, allocations: 6.52 MB / 0.8622 GB, free: 14.06 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005247/1.388, allocations: 2.123 MB / 0.8642 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003683/1.392, allocations: 3.565 MB / 0.8677 GB, free: 8.363 MB / 478.1 MB Notification: Performance of SimCode: time 8.12e-07/1.392, allocations: 0 / 0.8677 GB, free: 8.363 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.667/4.058, allocations: 140.8 MB / 1.005 GB, free: 68.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/16.69, allocations: 16.5 kB / 1.005 GB, free: 68.75 MB / 494.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_withLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches